Quantcast
Channel: rahulsingla.com - VB.NET
Browsing all 11 articles
Browse latest View live

Coolite - Ensuring appropriate inclusion of script files for Custom Controls

Working on a custom Window control derived from Coolite Window control, I wanted to ensure that my script file for the custom Window gets included at an appropriate place in the page header before the...

View Article



Assertions in .NET - The Assert class

No doubt Visual Studio provides extensive Unit Testing framework. Plus there are feature-rich third-party frameworks (e.g. NUnit) available for Unit Testing your .NET code.However, I was disappointed...

View Article

VB.NET equivalent to PHP functions

I am currently working on an assignment to convert a Perl/PHP based intra-net project to an ASP.NET web application.The complexity of the project has been significant as it involves the management of...

View Article

ASP.NET sets the transfer encoding as chunked on premature flushing the Response

Well, I discovered this problem and its solution sometime earlier. However lately, a couple of my colleagues approached me for advice with the same issue, and I thought of writing a blog post for the...

View Article

ASP.NET - HttpContext.Current is null in EndXXX method of asynchronous web...

Well, I am in a bit of a hurry, so if you are not aware of what asynchronous web-methods in ASP.NET web-services are, or why and how to use them, check out this article on MSDN.Essentially, you split...

View Article


.Net - Regex pattern for lazy balanced group matching

A couple of days ago, I needed to find all calls to a specific method in a large number of javascript files. The exact method call looked something like following:Rahul.t('String to be...

View Article

Serializing/Deserializing RSA Public/Private keys generated using Bouncy...

.Net provides a good Cryptographic framework in the System.Security.Cryptography namepsace. But I have sometimes found it lacking for my needs (and non-intuitive at some other times).Yesterday I needed...

View Article

Serializing/Deserializing .Net's native RSA Public/Private keys

Okay, here's the second consecutive blog post on serializing/deserializing RSA public/private keys, this time generated by the native RSACryptoServiceProvider available in .Net (the previous post...

View Article


Ext.Net - Controlling core css and javascript files rendered on the page

Our designer had created a comprehensive custom theme for ExtJs, and we wanted to use it in our ASP.NET app that leverages Ext.Net and ExtJs extensively.If you have used Ext.Net, you would know that...

View Article


.Net - Compressing directories recursively with ICSharpCode.SharpZipLib

I think there's hardly anything to explain here or give introduction about, the title says it all. I wrote a small function to zip directories recursively using the free and open-source...

View Article

MEF - Ordering multiple parts imported using ImportMany attribute of Managed...

Hello World :)It's been so long since I last blogged, it essentially feels to be blogging like first time. A lot has happened all this time, and I hope I would be able to share some of my learnings...

View Article
Browsing all 11 articles
Browse latest View live




Latest Images