Category Archives: ASP.NET

Invoke a POST method with XML Request message in C#

Hi, To invoke a POST method located at a particular URL with an XML request message, we need to follow the below steps: Create a request to the url Put required request headers Convert the request XML message to a … Continue reading

Posted in ASP.NET | Tagged , , , , , , , | 1 Comment

State Management using Cookies.

What are Cookies? Cookies are nothing but a small piece of information that are stored at the client’s browser by the server. This small piece of information about the user is then sent by the browser in all subsequent requests … Continue reading

Posted in .NET, ASP.NET, C#, General | Tagged , , , , , , , , , , , , , , | Leave a comment

[Solution]configuration system failed to initialize – C# Exception

Hi, Today I encountered an exception while working on an application. The exception was “configuration system failed to initialize”. The problem that I was having in my application configuration file was that I declared the <appSettings> tag immediately after the … Continue reading

Posted in ASP.NET | Tagged , , , , , , , , , , , , , , | Leave a comment

[QUESTION-Help required] Pagination in asp:DataGrid. Aligning page numbers to the center

Hi, I’m using an asp:DataGrid control with Pagination. But I want the page numbers appearing at the bottom of the page to span all the columns of the DataGrid as opposed to the one that I’m currently getting. Please check … Continue reading

Posted in .NET, ASP.NET, C# | Tagged , , , , | Leave a comment

.NET Framework tutorial for Absolute Beginners Part#3

This video is third in the series of video that I will be posting here. In this video, I mainly talk about C# programming language, the features that it provides and also I show the first Hello World Console Application … Continue reading

Posted in ASP.NET, C#, General | Tagged , , , , , , , , | Leave a comment

.NET Framework tutorial for absolute beginners Part#2

This video is second in the series of videos that I will be posting that explain the .NET Framework, it’s architecture and different types of applications that can be developed on .NET Framework, from the very beginning. This series of … Continue reading

Posted in ASP.NET, C#, General | Tagged , , , , , , , , | Leave a comment

.NET Framework tutorial for absolute beginners Part#1

This video is First in the series of videos that I will be posting that explain the .NET Framework, it’s architecture and different types of applications that can be developed on .NET Framework, from the very beginning. This series of … Continue reading

Posted in ASP.NET, C#, General | Tagged , , , , , , , , | Leave a comment

[QUESTION- Please Help] IIS throwing HTTP 404 not found but requested resource actually exists. Requested URL also changing automatically.!

Hi all, I’m facing a really weird scenario here with my local IIS. I have hosted multiple sites in the default website in my local IIS. One of them has the login page. From the login page, I’m redirecting the … Continue reading

Posted in .NET, ASP.NET, C#, IIS | 6 Comments

Getting a machine name of logged in user in asp.net

Hi, I recently encountered this scenario and thought of blogging about it. To get the machine name of the logged in user, you can use the “GetHostEntry()” method provided in System.Net.Dns class. GetHostEntry takes a string as parameter and it … Continue reading

Posted in .NET, ASP.NET | Tagged , , , , , , , , , , , , , , | Leave a comment

How to implement a multi-column Dropdown list? See attached image for more clarity

Hi, This post is more of a question than an article. I want to implement a multi-column drop down box where in I should be able to filter the results appearing below as I type along with auto-complete feature. A … Continue reading

Posted in ASP.NET | Tagged , , | 4 Comments