jantu28

Stories kicked by jantu28

Introducing Fluent MetadataProvider for ASP.NET MVC - Kazi(weblogs.asp.net)

submitted by jantujantu(1045) 2 years, 5 months ago

I have just included a Fluent Metadata provider in my open source System.Web.Mvc.Extensibility project. Currently it contains all of the features of the Built-in DataAnnotations Metadata provider that comes with the ASP.NET MVC 2 framework. Consider it as a holiday special from me for the ASP.NET MVC community :-). The main reason I am no... read more...

5 comments |category: |Views: 266

tags: another

ASP.NET MVC - Prevent Image Leeching with a Custom RouteHandler(mikesdotnetting.com)

submitted by MikesdotnettingMikesdotnetting(340) 2 years, 5 months ago

Have you ever noticed an unusually high number of requests in your web server log files for image files? It may well be that someone is linking to your images from their own site, and basically stealing your bandwidth. Here's how to implement a custom RouteHandler within an ASP.NET MVC application to prevent people leeching your images. read more...

add a comment |category: |Views: 28

tags: another

More on Fluent MetadataProvider for ASP.NET MVC - Kazi Manzur Rashid(weblogs.asp.net)

submitted by jantujantu(1045) 2 years, 5 months ago

In my last post, one of the thing you complained about the maintaining view model meta data configuration in two separate place and I admit this becomes a pain when you skim through the codes. I have changed the implementation, so now you will be able to configure the meta data very much like the Fluent NHibernate or Entity Framework 4.0 Code ... read more...

8 comments |category: |Views: 279

tags: another

SSMS tab grouping with Tabs Studio(tabsstudio.wordpress.com)

submitted by SergeyVlasovSergeyVlasov(173) 2 years, 5 months ago

SQL Server Management Studio uses quite different scheme for tab names from Visual Studio. I’ve significantly improved SSMS support in the next Tabs Studio version... read more...

add a comment |category: |Views: 12

tags: another

Xaml color scheme generator(blogs.compdj.com)

submitted by activeaspactiveasp(163) 2 years, 5 months ago

I’ve made a xaml color scheme generator that works with colorschemedesigner .com It generates a resource dictionary and xaml demo source. In the color scheme generator site, just export to xaml, and save to a file. In the generator, browse for that file, and click convert. read more...

add a comment |category: |Views: 77

tags: another

AutoMapper DSL design post-mortem(lostechies.com)

submitted by hgarciahgarcia(1534) 2 years, 5 months ago

As I move towards the 1.0 release of AutoMapper, I’m already running in to things I wish I had done differently. I still will probably fix all of these eventually, but none of these design issues should prevent a release, especially since it’s not any public functionality. A lot of it came from trying out designs in the open, but it can be difficult to change direction once it’s out in the open and in production. The Fluent NHibernate guys have changed their API quite a bit up to release, for better or worse, and I wasn’t too keen to follow that same path. read more...

add a comment |category: |Views: 11

tags: another

HTML based file upload/download to FTP server using HttpHandler in C#(fairnet.com)

submitted by ebizdomebizdom(320) 2 years, 5 months ago

In this article, i will examined how to upload/download file from HTML client to FTP server using HttpHandler in C#. This approach can be very handy for application integration. Here is our html code that will consume HttpHandlers. read more...

add a comment |category: |Views: 71

tags: another

C# 4.0-Dynamic Data Type, Difference between var and dynamic(jalpesh.blogspot.com)

submitted by jalpeshjalpesh(1347) 2 years, 5 months ago

C# 4.0 introduces a new keyword called 'Dynamic'. It can consume any object anything. Let's see some examples for that. dynamic intExample = 1; Response.Write(intExample); dynamic floatExample = 2.5; Response.Write(floatExample); dynamic stringExample = "DotNetJaps"; Response.Write(stringExample); read more...

add a comment |category: |Views: 15

tags: another

Telerik ASP.NET MVC Grid Preview (Take 2) - Kazi Manzur Rashid(weblogs.asp.net)

submitted by mithumithu(570) 2 years, 5 months ago

In the last post, I have shown you how you can extend the ASP.NET MVC2 templates and some of the issues of the current beta. In this post, I will show you how we are taking advantages of the new DisplayFor/EditorFor in our MVC Grid. One of the benefit of using those statements in our grid is, you can host any kind of component in an individual cell, obviously the first two components will be the DateTimePicker and NumericTextBox that we are going to include in our next release. One of the most requested feature since our last release is the inline editing support in the grid. In this, I will show you the inline editing of product of my last post, but this time with our Grid. The Grid should support both server and ajax editing, but in this example we will only discuss the server..... read more...

1 comment |category: |Views: 282

tags: another

C++ Programming: The using and namespace keyword in C++(begincpp.blogspot.com)

submitted by homamhomam(100) 2 years, 5 months ago

You may feel it is inconvenient to write std:: in front of cout and endl everytime. There is two solution provided by ANSI standard. It is done by use of the keyword using. The first solution is to tell the compiler at the beginning of your code that you will use standard library cout and endl. read more...

add a comment |category: |Views: 3

tags: another

C++ Programming: cout(begincpp.blogspot.com)

submitted by homamhomam(100) 2 years, 5 months ago

In c++, cout is used to print data on the screen. The statement #include <iostream> is used add the file - iostream to the source code. The file - iostream (input-output-stream) is used by cout and its related function. Type cout followed by insertion operator (<<) followed by your data and terminate it by semi-colon. read more...

add a comment |category: |Views: 1

tags: another

C++ Programming: First C++ Program(begincpp.blogspot.com)

submitted by homamhomam(100) 2 years, 5 months ago

<iostream> and <conio.h> which begins with #include are known as header files. It is also called as preprocessor directive. When you start the compiler the preprocessor runs first. The preprocessor will be discussed in detail in further chapters. The command #include is a preprocessor instruction that says, "What follows is a file-name. Find that file, read it, and replace it right here." read more...

add a comment |category: |Views: 8

tags: another

SQL Server Soundex Functions(blackwasp.co.uk)

submitted by BlackWaspBlackWasp(4212) 2 years, 6 months ago

The forty-ninth part of the SQL Server Programming Fundamentals tutorial describes the Soundex functions that are provided by Transact-SQL (T-SQL). These functions allow strings to be compared according to their pronunciation by English speakers. read more...

1 comment |category: |Views: 94

tags: another

Extending ASP.NET MVC 2 Templates - Kazi Manzur Rashid(weblogs.asp.net)

submitted by mithumithu(570) 2 years, 6 months ago

One of the new features of ASP.NET MVC 2 is Templates (DisplayFor/EditorFor), Brad Wilson did a series of post which explains how the templates works, Please read it before you continue this post. Although he did an excellent job explaining the inner-details, but one thing you will notice that the object model in those examples are traversed from top to bottom or parent to child which is good for explaining the internal, but in our real application we need a bit more support. Lets take a trivial example, you are creating a create/edit screen for your Product, where each product has a associated Category and you want to show this category in a DropDownList, say we have a Product class like the.... read more...

add a comment |category: |Views: 207

tags: another

Git's guts: Branches, HEAD, and fast-forwards(lostechies.com)

submitted by beckelmwbeckelmw(2755) 2 years, 6 months ago

Lets get some learning done. There are a few questions that keep cropping up when I introduce people to Git, so I thought I'd post some answers as a mini-series of blog posts. I'll cover some fundamentals, while trying not to retread too much ground that the fantastic Git community book already covers so well. Instead I'm going to talk about things that should help you understand what you and Git are doing day-to-day. read more...

add a comment |category: |Views: 4

tags: another

Visual Studio 2010 - Highlighting References (blog-mstechnology.blogspot.com)

submitted by babu.mstechbabu.mstech(285) 2 years, 6 months ago

This blog post explaining about the new feature "Highlighting References" introduced in VS 2010 read more...

add a comment |category: |Views: 31

tags: another