Unable to make the session state request to the session state server. Please ensure that the ASP.NET State service is started and that the client and server ports are the same.

Error: Unable to make the session state request to the session state server. Please ensure that the ASP.NET State service is started and that the client and server ports are the same. Solution: Type dcomcnfg in run command. Component Service form will appear, select services (Local) section. Check ASP.NET State service. right click on ASP.NET […]

Read More

Access Values from All asp.net TextBoxes using jQuery

Let suppose we want to access values from all ASP.NET Textboxes on a Button click. Empty Textboxes should be ignored. JQuery Section: <script type=”text/javascript”> $(function () { $(‘input[id$=btnAll]’).click(function (e) { e.preventDefault(); $(“#para”).text(”) .append($(“input:text”).map(function () { return $(this).val() || null; }).get().join(“<br/> “)); }); }); </script> Explanation: To achieve this requirement,$.map() is an extremely useful function which […]

Read More

How .NET Program Execute

Using dotnet we can create different types of applications. A few of the common types of .NET applications include Web, Windows, Console and Mobile Applications. Irrespective of the type of the application, when you execute any .NET application the following happens 1. The .NET application gets compiled into Intermediate language (IL). IL is also referred […]

Read More

create and run a console application

To create and run a console application Start Visual Studio. On the menu bar, choose File, New, Project. The New Project dialog box opens. Expand Installed, expand Templates, expand Visual C#, and then choose Console Application. The new project appears in Solution Explorer. If Program.cs isn’t open in the Code Editor, open the shortcut menu […]

Read More