|
|
misbaharefin
Stories submitted by misbaharefin
|
|
published 5 days, 15 hours ago, submitted by
misbaharefin
6 days, 13 hours ago
dotnethitman.spaces.live.com — LINQ to SQL and the Entity Framework have a lot in common, but each have features targeting different scenarios.
read more...
add a comment
|
category: Linq | Views: 364
|
|
tags:
LINQ, EntityFramework | tag it
Everyones tags: | Your tags: | |
|
|
|
|
|
submitted by
misbaharefin
6 days, 13 hours ago
dotnethitman.spaces.live.com — As application size and complexity increase it becomes more and more difficult to reuse existing components and integrating these components to form an interconnected architecture because of the dependencies of the components. One way to reduce dependencies is by using Dependency Injection, which allows you to inject objects into a class, rather than relying on the class to create the object itself.
read more...
add a comment
|
category: Patterns | Views: 4
|
|
tags:
Unity, DependencyInjection, Patterns | tag it
Everyones tags: | Your tags: | |
|
|
|
|
|
submitted by
misbaharefin
1 month, 6 days ago
dotnethitman.spaces.live.com — SQL injection can occur when an application uses input to construct dynamic SQL statements or when it uses stored procedures to connect to the database. Conventional security measures, such as the use of SSL and IPSec, do not protect your application from SQL injection attacks. Successful SQL injection attacks enable malicious users to execute commands in an application's database.
You should always be reviewing your code to find these or other security vulnerabilities; remember all type of attacks start with some input, and your first line of defense should be input validation using both client-side and server-side validation.
read more...
add a comment
|
category: ASP.NET | Views: 12
|
|
tags:
SQLInjection, ASP.NET | tag it
Everyones tags: | Your tags: | |
|
|
|
|
|
submitted by
misbaharefin
1 month, 11 days ago
dotnethitman.spaces.live.com — Imagine that you are creating a website registration form and you need to validate a Login ID or Email field. You want to make sure that the Login ID or Email entered does not already exist in the database...
read more...
add a comment
|
category: ASP.NET | Views: 22
|
|
tags:
AjaxValidator, AJAX, ASP.NET | tag it
Everyones tags: | Your tags: | |
|
|
|
|
|
submitted by
misbaharefin
1 month, 17 days ago
dotnethitman.spaces.live.com — Any web page which requires input from the user simply cant allow just any data to be entered because the data might be too long, missing or incorrect. We need to validate the data entered by the users in a number of ways; for example, First Name and Last Name might be required fields and Date of Birth cannot be greater than the current date etc. We can very well use the client side validators provided by ASP.NET like RequiredFieldValidator, CompareValidator or RegularExpressionValidtor but is that really enough? What if JavaScript is disabled by the client? What if we need to validate our business objects? It is often important to validate data several times within the same application. For example, you may need to validate object instances that you:
-Generate in separate tiers or components of your application
-Retrieve from a cache, a repository, or a third-party data access layer
-Receive from a Web Service as an object instance or a set of property values
-Reconstruct from existing values, perhaps populating them by copying properties from a similar object or using values retrieved from a database
Enter the Enterprise Library with its Validation Application Block.
read more...
add a comment
|
category: ASP.NET | Views: 15
|
|
tags:
ValidationApplicationBlock, EnterpriseLibrary, ASP.NET | tag it
Everyones tags: | Your tags: | |
|
|
|
|
|
submitted by
misbaharefin
1 month, 18 days ago
dotnethitman.spaces.live.com — Congratulations to the Enterprise Library Team for their release of Enterprise Library 4.0. A few enhancements and bug fixes in this release, but most importantly it comes with Unity IoC Integration. read more...
add a comment
|
category: Patterns | Views: 18
|
|
tags:
EnterpriseLibrary, Patterns | tag it
Everyones tags: | Your tags: | |
|
|
|
|
|
submitted by
misbaharefin
2 months ago
dotnethitman.spaces.live.com — Recently on a newsgroup I found a question about conditional joins in TSQL. The OP was trying to get rid of dynamic SQL and was looking for a way to change the following example script... read more...
add a comment
|
category: Database | Views: 6
|
|
tags:
SQLServer, INNERJOIN, Database | tag it
Everyones tags: | Your tags: | |
|
|
|
|
|
published 1 month, 28 days ago, submitted by
misbaharefin
2 months ago
dotnethitman.spaces.live.com — Exceptions provide a consistent mechanism for identifying and responding to error conditions. Effective exception handling will make code more robust and easier to debug. Exceptions are a tremendous debugging aid because they help answer...
read more...
add a comment
|
category: C# | Views: 36
|
|
tags:
ExceptionHandling, BestPractices, C#, Exception | tag it
Everyones tags: | Your tags: | |
|
|
|
|
|
submitted by
misbaharefin
2 months ago
dotnethitman.spaces.live.com — One of the cool new data types added in SQL Server 2008 is Table-Value Parameters. You can use table value parameters to send multiple rows of data to a Transact-SQL statement, or to a routine such as a stored procedure or function. This can be done without creating a temporary table or many parameters. Table-value parameters are like parameter arrays in Object Linking and Embedding Database (OLE DB) and Open Database Connectivity (ODBC), but offer better flexibility and closer integration with Transact-SQL. Table-value parameters can participate in set-based operations.
read more...
add a comment
|
category: Other | Views: 7
|
|
tags:
TableValueParameters, sqlserver2008 | tag it
Everyones tags: | Your tags: | |
|
|
|
|
|
submitted by
misbaharefin
2 months ago
dotnethitman.spaces.live.com — A quick search for how to display paged records in ASP.NET will yield a ton of links and how to's ranging from as simple as automatic paging with the grid controls to custom paging and server side paging in SQL Server, but what about paging in LINQ?
read more...
add a comment
|
category: Linq | Views: 11
|
|
tags:
Paging, C#, LINQ | tag it
Everyones tags: | Your tags: | |
|
|
|
|
|
submitted by
misbaharefin
2 months ago
dotnethitman.spaces.live.com — Warning CA1816 : Microsoft.Usage : Change 'xxx.Dispose()' to call 'GC.SuppressFinalize(object)'. This will prevent unnecessary finalization of the object once it has been disposed and it has fallen out of scope.
read more...
add a comment
|
category: C# | Views: 9
|
|
tags:
SuppressFinalize, CA1816, C#, dispose | tag it
Everyones tags: | Your tags: | |
|
|
|
|

Sponsored Link: www.carlist.ie
Ads via The Lounge
|