Posts under ASP.Net

Just Released! – NuGet Package to List Attribute Based Routes

Hello People! Just wanted to share some information on what I have been doing. Yesterday I released a NuGet package that could prove helpful if you have started using ASP.Net MVC 5′s attribute based routing. You can read about attribute based routing here. But on a high level, attribute based routing is a feature that [...]

Ninject: Passing dynamic parameters to the constructor

Hello poeple! Been a really long time since I posted anything. But, here you go! This is a very interesting snippet about passing dynamic arguments to constructor that will be injected to a controller (say), using ninject. When you register a dependency in ninject, you do the following: kernel.Bind<IData>().To<Data>(); Whereas, if you also want to [...]

Fun With Generics 1: Equality Comparers

Hello People! I am back with an interesting post, but this is going to be short. I was bored and was thinking up something and it occurred to me that I could just start playing around with generics So I thought I may post a series of entries regarding stuff I get to do. In [...]

Custom ConfigSection: An Alternarnative to appSettings

Hello people! I am back with yet another interesting post about something very interesting in ASP.Net – custon configuration sections. Those of you who are familiar with ASP.Net web development will be aware various sections in web.config such as <appSettings /> and <connectionStrings />. These “sections” are supported ASP.Net itself and thus we are able [...]

Custom Metadata Attributes in ASP.Net MVC

Hello! It’s been a long time since I posted anything and trust me it does not feel good So here I am with an interesting post! This post discusses about how I put custom metadata attributes in to use for describing static information for a certain field. I was in a situation where in I [...]

Introducing sBlog.Net – An Open Source Blog Engine

Hello people! It’s been a very long time since I posted anything in this blog, but, here I am! This blog post is regarding something I have been working for a while – it’s a blog engine and I have named it sBlog.Net. The dedicated website is for this project is: http://sblogproject.net Its experimental and [...]