Here a url helper, maybe it can interests you :
public static class UrlHelperExtension
{
public static string Image(this UrlHelper helper, string fileName)
{
return helper.Content(string.Format("~/Content/Images/{0}",fileName));
}
public static string Stylesheet(this UrlHelper helper, string fileName)
{
return helper.Content(string.Format("~/Content/Css/{0}.css",fileName));
}
public static string Javascript(this UrlHelper helper, string fileName)
{
return helper.Content(string.Format("~/Content/Scripts/{0}.js", fileName));
}
}
And here is how I use it :
For CSS :
<link rel="stylesheet" type="text/css" href="<%= Url.Stylesheet("reset") %>" media="all" />
For javascript
<script [...]
So, I work hard these days to finish my data access. I would like to explain you how I see application’s design.
As I told you before, I want to separate my application in 3 parts. I know that architecture could be discussed but I would make this point clear, it should be “re-factored”. Anyway, for [...]
So, now that I have introduced TDD in my Agile Page. I will try to use it along all the development of Kiwi.
Bookmark It
Hide Sites
$$(’div.d233′).each( function(e) { e.visualEffect(’slide_up’,{duration:0.5}) });
So, I decide to rebuild a new solution. I will carry on the membership layer later cause I want a system who could use Sql, Active Directory or OpenID for the login and only use Sql for the membership role. I have an idea to do that but as I told you in a previous [...]
I know it is a bit weird to begin a CMS application by implementing a Membership system but the simple raison why I start up with that is because I needed for my work (as you can see in my previous post ).
Too often, I saw developers rewriting their own membership system in place to [...]
Well, with all the acronyms which exist in the software development world, Harry Potter should have found a lot of words for his magic formulas. Today, I will explain you two of them, AZAM and ADAM.
Bookmark It
Hide Sites
$$(’div.d39′).each( function(e) { e.visualEffect(’slide_up’,{duration:0.5}) });
In this part, I am going to explain you how to setup an MVC .Net application.
I will tell you often “I am not a senior .Net developer”, I assume that I can make some faults and have totally wrong. If you think I am, do not hesitate to contact me at pierre@dervalp.com or leave me [...]