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 stream (or bytes) Write the stream of bytes (our request xml) to the request stream […]
Category: ASP.NET
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 to the same URL in the request. We can store anything in a cookie; General […]
[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 root tag <configuration>. The schema of a configuration file mandates the “<configSections>” tag to be […]
[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 below image. This is what I’m getting currently. But I want the page numbers to […]
.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 using Visual Studio.
.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 videos is mainly targeted to developers who are completely new to .NET Framework.
.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 videos is mainly targeted to developers who are completely new to .NET Framework.
[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 user to another page that is located in another site (which is also hosted in […]
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 is the hostname or address of the machine whose entry we need to get. So […]
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 sample implementation of what I want can be seen in the below image. I want […]