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

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

Check if service bus topic/subscription/queue exists with SAS key not having Manage permission

Hi, Consider a scenario where you’ve developed an application health monitoring¬†type system which validates your application at application startup/periodically. Now as part of that if your application uses Azure service bus queues, topics, subscriptions, then it would be good to … Continue reading

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

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

Posted in .NET, C# | Tagged , | 4 Comments

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

[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

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 , , , , | 3 Comments