-
Archives
- May 2018
- April 2018
- December 2017
- September 2017
- August 2017
- July 2017
- June 2017
- March 2017
- February 2017
- January 2017
- October 2016
- September 2016
- August 2016
- October 2015
- July 2015
- March 2015
- January 2015
- December 2014
- August 2014
- July 2014
- May 2014
- April 2014
- March 2014
- February 2014
- January 2014
- November 2013
- October 2013
- September 2013
- August 2013
- July 2013
- June 2013
- May 2013
- April 2013
- March 2013
- February 2013
- January 2013
- November 2012
- October 2012
- September 2012
- August 2012
- July 2012
-
Meta
Category Archives: C#
An easy to miss gotcha in Azure Service Fabric service with multiple listeners
Hi, If you’ve ever worked with Azure Service Fabric, then there is a high probability that you will have a service that creates multiple listeners, either to multiple ports to accept requests from different protocols or listeners to Azure services … Continue reading
Resolving “CloudConfigurationManager does not exist in the current context” compiler error
Hi, In case you get are trying to access the cloud configuration file in your Azure Cloud service and get the error “CloudConfigurationManager does not exist in the current context” on CloudConfigurationManager class, then all you need to do is add … Continue reading
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 asp.net cookie state management, asp.net cookies, cookie object, cookies, cookies in asp.net, HttpCookie, persistent cookie, reading and writing cookies, reading cookie data, reading cookie data in different page, Request.Cookies, Response.Cookies, state management using cookies asp.net, state management using cookies in asp.net, writing cookie data
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 asp:DataGrid, Page numbers alignment in DataGrid, PagerStyle, Pagination, Pagination in DataGrid
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
.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
.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
[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
Converting HTML text to image using C#
Hi, This post talks about converting HTML text to image. That is, saving as image, the html text as rendered in the browser!! (Unable to put it in proper words!! :@ ) The code uses an external dll (HtmlRenderer) that … Continue reading
Posted in .NET, C#, General
Tagged bitmap, C# htmltojpg, html, html to bmp, HTML to Image C#
3 Comments