ASP.NET Webforms isn’t the best platform to build web applications. I can’t wait to migrate my apps to ASP.NET MVC but until i have the time to do that i have to coup with some of asp.net strange parts.
Today i wanted to invoke a postback via JQuery wich actually was fairly easy but i wanted [...]
Posted on 14 April 2009, 15:09, by Ola, under
ASP.NET.
I have had problems doing proper 404 redirects in ASP.NET ever since i started to care about proper 404 pages. I do not have any troubles if the page really does not exist. But say for example that i require a querystring on some page and for some reason i do not get a querystring. [...]
Posted on 13 February 2009, 12:25, by Ola, under
ASP.NET,
C#,
php.
The URL shortening service http://bit.ly has a really simple and convient API that lets just get a short url like this.
http://bit.ly/api?url=http://www.myreallylong.com/url/with/lots?of=crap
I’ve used this in a wordpress installation with PHP before and there i could just do.
$twitter_url .= file_get_contents(’http://bit.ly/api?url=’ . get_permalink());
Simple and clean. But today i wanted to do the same thing with asp.net and found [...]
Posted on 14 January 2009, 18:58, by Ola, under
ASP.NET.
I have had huge problems on various projects with the “publish” functionality in Visual Studio 2008. I like the feature, you just click publish, choose a directory and the files that is needed on the webserver is placed in the folder and you can easliy copy it to your server or whatever.
The problem with it [...]
Posted on 16 December 2008, 22:18, by Ola, under
ASP.NET,
SQL.
I had this really weird problem just now. I have done some work with the ASP.NET Membership provider and everything has been working great. But when i tried to deploy my application to the server i got this:
The ‘System.Web.Security.SqlRoleProvider’ requires a database schema compatible with schema version ‘1′. However, the current database schema is [...]
Posted on 06 November 2008, 17:49, by Ola, under
Deployment.
I’ve been struggling the whole afternoon to get some kind of continuous integration up and running. It started with that i got sick and tired of the Publish feature in Visual Studio 2008 because it just starts to fail from time to time and its kind of impossible to find out why because it doesn’t [...]
Posted on 14 October 2008, 16:13, by Ola, under
C#,
LINQ.
Today i built a Tag cloud for my new site. I found this great article about on how to do it with LINQ and C#. But i missed some features. Especially how to limit the number of tags that was shown. So if you read that article and then have a look at this code [...]
Posted on 09 October 2008, 14:42, by Ola, under
JQuery.
Like everyone else i’ve been playing around with JQuery alot latley. Asp.net and JQuery is not the best friends in the world but i guess it will be alot better when using ASP.NET MVC. Microsoft also annoncued that they will support JQuery natively in future versions. Nice!
If you want to learn more about ASP.NET and [...]