Quantcast
Channel: Code clarity
Browsing latest articles
Browse All 22 View Live

Troubles with regular expressions in Opera and Firefox

Several months ago I've found that there is a trouble in Firefox and Opera with regular expressions create by /..../ syntax. Here is an example:function fn1(template, name){ var patt = /\d/g; var...

View Article



Image may be NSFW.
Clik here to view.

MVC 2.0 Client validation exposed

There are many good articles about new validation model in MVC 2.0, for example an excellent article ASP.NET MVC 2 Custom Validation on Phil Haack's blog.Yeah, data annotation and rules in model is...

View Article

Image may be NSFW.
Clik here to view.

String templates revisited

Sometimes I encounter a task - create some little template, that user can easily configure. Yeah, there are many powerful template engines such asNVelocity(Caslte project)Brail(Caslte...

View Article

Image may be NSFW.
Clik here to view.

Tips on using Virtual Directories in ASP.NET, MVC, HttpSimulator, SiteMap

Imagine you develop a web-site. You register IIS site to test it, seems like all is ok. You deploy it to customer, and... oh no! where is my images, styles, scripts? and why site map causes an...

View Article

Image may be NSFW.
Clik here to view.

C# renderer for jQuery DataTables

DataTables is an excellent plugin for the jQuery javascript library to extend HTML table with advanced functionality. I like to use it in projects, but (may be it is strange for someone) I don't like...

View Article


Image may be NSFW.
Clik here to view.

Requirements specification and RFC

Many of the people when write requirements specification widely use words such as "SHALL", "SHOULD", "MAY" etc... However usage of this words is chaotic, not well-defined, and such technical writer...

View Article

Image may be NSFW.
Clik here to view.

ASP.NET MVC 2 - Building extensible view engine.

ContentsIntroductionUnderstanding an IdeaExtensible version of view engineSample applicationIntroductionIn time of MVC 1, inspired by Phil Haack's blog post about Grouping Controllers with ASP.NET MVC...

View Article

Image may be NSFW.
Clik here to view.

MVC 2 DropDownListFor - Any troubles? - Part 1

When working on one project, I have a trouble with MVC DropDownListFor - selected value doesn't returned to the server. I saw a lot of articles, questions, etc.. about this thing. And I decide to write...

View Article


Image may be NSFW.
Clik here to view.

MVC 2 DropDownListFor - Any troubles? - Part 2

Hello again. Today I want to talk about select list with optgroups. So, I need such a list. MVC has no support for it. What to do?After a little browsing I decide wrote my own solution. It is based on...

View Article


Image may be NSFW.
Clik here to view.

How to configure FATAR Studiologic VMK 188 Plus to work under FL Studio

Hi all,today I want to tell you not about software development, but about music, yeah..So, you bought MIDI keyboard - FATAR Studiologic VMK 188 Plus - and want to use it in FL Studio.There are several...

View Article

Image may be NSFW.
Clik here to view.

Entity Framework (Code First): the easy way to run stored procedures

Hello,an ordinal way to execute stored procedure in EF CF is something like this:public Product GetProduct(int id){ Product product = null; using (var context = new NorthwindData()) { string query =...

View Article

Image may be NSFW.
Clik here to view.

How to troubleshoot SSL\TSL or x509 Certificate Validation in .NET

Hello,if your SSL\TLS connection does not work, or establishing is very slow and you don't know what to do, this post is for you. There is a lot of text and links, and no images. So, be strong.In my...

View Article

Image may be NSFW.
Clik here to view.

Lost and found headers and identity for WCF service

If you are aware where is your headers and identity that were specified in config file and disappeared during runtime, check may be you are assigning an endpoint address form the code. Look at...

View Article


Image may be NSFW.
Clik here to view.

Atmel Studio for Arduino-guys - Part1: precompile Arduino core

IntroductionHello everybody!I'm back to my blog with several interesting articles. Now I'm working on telepresence robot, actually I'm using it from 04/12 and doing improvements all the time. Well.....

View Article

Atmel Studio for Arduino-guys - Part1 (continued): precompile Arduino libraries

Hi, today we will talk about precompilation of Arduino libraries in Atmel Studio 6 and how to use precompiled libraries in your projects. You should create and cofigure new project, add required files,...

View Article


Skype App2App notes

Want to share several notes that I did during development of communication protocol for my robot using Skype App2App.Lets assume we have 3 skypes running (or skypekits):UserA logged on PC1UserA logged...

View Article
Browsing latest articles
Browse All 22 View Live




Latest Images