Displaying posts categorized under

web development

Category contains web programming and design

Manually forcing ELMAH to log exception

ELMAH is one of those projects that I use for literally ALL my own projects. It is an easy to implement error-logging component – for ASP.NET (MVC as well). The best thing about it is that it comes with web page that allows you to view all logged errors (even those of ‘yellow screen of [...]

Share

How to implementing log in to site with Facebook account in ASP.NET MVC

I have decided to enable users that already have a Facebook account (who hasn’t ?!) to log on my site with their Facebook credentials. Process has shown to be pretty easy but It took me some time to figure out few things. I have decided to implement so called ‘Single Sign-On’ and I pretty much [...]

Share

LINQ Enumerable.Agregate with Path.Combine

Path.Combine accepts two parameters. Just two… So when we combine multiple path we have to deal with with nesting of Path.Combine: There are 2 ways to handle this: 1. Use Enumerable.Agregate: 2. Or upgrade to .NET 4.0 where there is an overload with Path.Combine(params string[] paths) Have fun!

Share

Debugging silverlight in Firefox and Chrome

Well, it seams that war between Firefox and Chrome in my life is not over yet, despite brave decision I have made…. I was forced to write small widget in Silverlight, and to be honest I was having hard time debugging it in visual studio – somehow, I couldn’t hit any breakpoints. Well shit happens. [...]

Share

Browser and self closed script tag…

I keep on doing that thing for every new project. i simply make script tag self closing, like on the example below: Browsers may behave in really strange way – just for Your curiosity – try to run it common browsers. It looks like Chrome is less immune to this than IE and Firefox. And it comes [...]

Share

Google Chrome has finally become my first browser!

Chrome… It has taken some time. I have tried to follow all the changes made since the first version. I have decided to give it a try from time to time. Each time new major version was released I promised my self to spend at least few days with Chrome as my default browser. Till [...]

Share