KirillOsenkov

Stories kicked by friends of KirillOsenkov

User Password Expired filter attribute with ASP.NET MVC(www.leniel.net)

submitted by lenielleniel(504) 2 days, 12 hours ago

A recent set of requirements I’ve been playing with deals with passwords. This one specifically handles password expiration. Given that I’m working with ASP.NET MVC I know I can rest assured that there’s some great (read awesome) way of implementing a given requirement. This is exactly what happened and I want to show you how to have a clean and beautiful solution to this problem. Read on... read more...

add a comment |category: |Views: 3

tags: another

Resize image on the fly with ASP.NET MVC(www.leniel.net)

submitted by lenielleniel(504) 1 month ago

I built a piece of code sometime ago to display image thumbnails in a listing page. I thought it's about time to optimize it. I refactored it and started using the WebImage class that comes in System.Web.Helpers namespace. With this class in place you can resize, crop, rotate, etc any image. There's no need to save the thumbnail in the disk, that is, a new image can be generated on the fly/dynamically and sent to the user’s browser. read more...

add a comment |category: |Views: 15

tags: another

ResourceManager with an External Assembly DLL(www.leniel.net)

submitted by lenielleniel(504) 5 months, 25 days ago

As a software developer I like to work with everything that is related to software Localization known as L10n. Besides being a developer working defining the architecture that will be adopted in a given project and doing the hard “FUN” work writing the code, I’m also a translator. One thing I've been trying to do recently is to be able to use localized strings that are present in an external assembly [ DLL ] using the ResourceManager object. Read on... read more...

add a comment |category: |Views: 1

tags: another

An Xml Serializable PropertyBag Dictionary Class for .NET(www.west-wind.com)

submitted by diamondzdiamondz(75) 7 months, 18 days ago

How to create a PropertyBag object which you can serialize to XML. read more...

5 comments |category: |Views: 57

tags: another

SQL UPDATE statement with SELECT and SQL Server Image data type column(www.dzone.com)

submitted by lenielleniel(504) 9 months, 18 days ago

In a SQL Server database I have a table called users which has a column named signature. This columns is of type Image. My production SQL Server is located in a shared hosting environment. One problem I’ve been facing lately is that I need permission to execute an UPDATE statement to insert a signature image for a given user. This problem occurs because to insert a signature image for a given user I have to execute a BULK statement. Read on... read more...

add a comment |category: |Views: 4

tags: another

Translating with Google Translate without API and C# Code(www.west-wind.com)

submitted by jch0001jch0001(145) 9 months, 19 days ago

Google Translate without API and C# Code read more...

add a comment |category: |Views: 22

tags: another

SVN, Hudson and MSBuild - Revision control repository(www.leniel.net)

submitted by lenielleniel(504) 9 months, 25 days ago

This series of posts I’m starting today serves as a guide on how to setup a continuous integration/CI server. All the the tools I’m going to use are FREE. The series will focus on continuous integration of .NET family of projects and I’ll write things in the order I installed them. This 1st part will deal with the Revision Control repository configuration. read more...

add a comment |category: |Views: 5

tags: another

Import/Export SQL Server database table data with SSMS(www.leniel.net)

submitted by lenielleniel(504) 10 months, 1 day ago

This post is a visual guide about one of the most powerful features of Microsoft SQL Server Management Studio (SSMS) 2008: Import/Export database data. These tasks are useful for example when you need to debug an application with real world/production data to find possible bugs in your code. You can import the production database data to your local development database and find what’s causing problems. These tasks can be used to create a protection layer because you won’t be working “directly” with production data. read more...

add a comment |category: |Views: 2

tags: another

Replacing Web.config settings with Transformations(www.leniel.net)

submitted by lenielleniel(504) 11 months, 11 days ago

Let’s say you want to point to a different connection string when you deploy your ASP.NET Web Project to your hosting provider. Until recently you’d have to modify your Web.config file manually. This is an easy procedure but you might end screwing up the file in some way. Visual Studio 2010 comes with a great new feature called Web.config Transformation that allows you to perform transformations in whatever section of your Web.config file. read more...

add a comment |category: |Views: 9

tags: another

Building a jQuery Plug-in to make an HTML Table scrollable(www.west-wind.com)

submitted by rstrahlrstrahl(7226) 11 months, 28 days ago

Table displays in limited space require some rendering alternatives. While paging is a common way to address fixed size displays, it's not an end-all solution. Sometimes it's necessary to display larger amounts of data in a small fixed space on an HTML page. Scrollable list are fairly easy to do with most HTML structures, but HTML tables are notoriously difficult to manage when it comes to scrolling. In this post I describe a jQuery plug-in that attempts to make any table scrollable by decomposing and reassembling the table into two distinct areas. read more...

add a comment |category: |Views: 31

tags: another

Built-in GZip/Deflate Compression on IIS 7.x(www.west-wind.com)

submitted by rstrahlrstrahl(7226) 1 year ago

IIS 7.x makes content compression via GZip very easy. Here's how compression on IIS works and how you can set it up on your server in a few simple steps. read more...

add a comment |category: |Views: 40

tags: another

Expression Blend Book(www.developingfor.net)

submitted by CharlieCalvertCharlieCalvert(7875) 1 year ago

In progress read more...

add a comment |category: |Views: 8

tags: another

ASP.NET GZip Encoding Caveats(www.west-wind.com)

submitted by rstrahlrstrahl(7226) 1 year ago

GZip and Deflate compression is easy to use in ASP.NET applications, but there are a few caveats that you need to watch out for. This post reviews the basics of implementing compression in ASP.NET code and describes a couple of scenarios that can cause problems when using programmatic compression via Response.Filter. read more...

add a comment |category: |Views: 7

tags: another

Rounded Corners and Shadows(www.west-wind.com)

submitted by jiltedcitizenjiltedcitizen(563) 1 year, 1 month ago

Well, it looks like we’ve finally arrived at a place where at least all of the latest versions of main stream browsers support rounded corners and box shadows. The two CSS properties that make this possible are box-shadow and box-radius. Both of these CSS Properties now supported in all the major browsers as shown in this chart from QuirksMode: read more...

add a comment |category: |Views: 88

tags: another

Displaying JSON in your Browser(www.west-wind.com)

submitted by jch0001jch0001(145) 1 year, 1 month ago

Javascript, JSON read more...

add a comment |category: |Views: 37

tags: another

ASP.NET Routing not working on IIS 7.0(www.west-wind.com)

submitted by rstrahlrstrahl(7226) 1 year, 1 month ago

Got caught be a difference in behavior between IIS 7.0 and IIS 7.5 with how module management to extensionless URLs are fired in IIS. Routing was working fine on my dev machine, but not on my live server. Here's what you need to watch out for. read more...

add a comment |category: |Views: 24

tags: another