Quantcast
Channel: .NET Adventures - miron
Browsing all 15 articles
Browse latest View live

Really quick "Downloads" page

I guess it's the same for all of us. We are the 'computers guy' of the family. When anyone of the close/far family/friends have a problem with the  computer, or need any software - the first call he...

View Article



Extensions can make us free from testing against null

The concept of the Extensions in the last frameworks is great. They are extremely easy to write and use, give us infinit options to add needed methods we just wished to have in the framework,  and the...

View Article

Uniform Distribution algorithm in C#

Background Where I work, one of the serviced we give to our clients is Medical articles.With the time, we have tones of articles. Millions. All PDF files, and all are in the same folder.The Problem It...

View Article

Some basic but useful C# methods implemented in JavaScript

While I was working on a full Ajax interface based on pure ajax calls and not on any framework,  I implemented some basic and simple methods that we use all the time in the server code, and just not...

View Article

Sorting a collection using Linq and 'SortExpression' string

Already happened to you that you had a collection of object from type 'X' with some properties, and you had to sort it one time by property 'ID', and another time by property 'Name' ? You wished that...

View Article


Prevent from the user to submit any 'not legal' input, using client side...

We are all know that client validations are good way to validate input, of cource you must re validate in server side also, but the client side will save some wasted post backs. Usually, we validate...

View Article

Create your own new Type and use it on run-time (C#)

It is not something you will use on daily bases. It doesn't have good performance. But one day, you will have to use it so it's good to know that it is possible. As you can understand from the title,...

View Article

High performance css minifier

It is known that minifying the JavaScript and CSS files can really reduce the files size and improve the general site performance. Lot of sites (BlogEngine.NET among them)  do it on run-time and not...

View Article


Image may be NSFW.
Clik here to view.

Fast version of the Activator.CreateInstance method using IL

We all know (I guess) the method Activator.CreateInstance(Type) and the generic version:  Activator.CreateInstance<T>()  that are used to create an instance of a specified Type. In now days all...

View Article


Events from control inside Accordion control are not being fired in first click

Update: In the last release of AjaxControlToolkit, the problem had been solved I never used the Accordion control before. Last days, I had to work on another developer's code that used an Accordion...

View Article

Generate thumbnails on the fly - Yet another version

There are many posts how to generate thumbnails using ASP.NET. Some good some less. Be sure to get distance from the versions that use Image.GetThumbnailImage method. I'm using my own version that...

View Article

Why I think I will stick with WebForms

The MVC concept is clear and logic and the guys at Microsoft did a very good job with the new MVC Framework , But I think I will stick with the 'old fashioned' WebForms and this is why: 1. I don't...

View Article

Cropping image using jQuery, Jcrop and ASP.NET

Letting the client cropping his images on the site was never an easy task. With jQuery and the plugin Jcrop by Deep Liquid it is easier than ever to do it in ASP.NET site. Here is how to do it: First...

View Article


HttpCompression on IIS7 (Using MbCompression library)

If You have full control on the server, you probably don't need my compression library MbCompression, But if you are using share hosting, sure you do. I just uploaded the configuration for the...

View Article

Limit uploaded files size in FCKeditor

FCKeditor (Changed to CKEditor for some reasons) is the coolest editor for asp.net (it works also with lot of other languages). It is easy to implement, full of features and can be easily customized. I...

View Article

Browsing all 15 articles
Browse latest View live




Latest Images