This article talks about performing validations while using Entity framework. We will see how the Entities facilitate validations using partial methods.
Sometimes, a bug fix cannot meet the challenges by a regression test. So thinking twice for a better solution is worthwhile for troubleshooting and bug fixes.
Part 2 of a series describing the creation of a Silverlight business application using Self-tracking Entities, WCF Services, WIF, MVVM Light Toolkit, MEF, and T4 Templates.
Part 4 of a series describing creation of a Silverlight business application using Self-tracking Entities, WCF Services, WIF, MVVM Light toolkit, MEF, and T4 Templates.
Samples showcasing usage of OData in .NET (WCF Data Services); samples go in increasing order of complexity, addressing more and more advanced scenarios.
How to utilize the ObjectContainerDatasource from the Web Client Software Factory to perform databinding while maintaining an MVP architecture. Samples are provided for Entity Framework, LINQ to SQL, and ADO.NET.
Convert a class library of POCO classes to datacontracts for use with WCF without having to write DataContract and DataMember attributes directly to the POCO classes.
One of the most popular questions is whether there exists a method which will automatically decide whether to insert, update or delete entity in the Entity-Framework. Now it is possible with EntityGraphOperations library.
There are lots of ways to implement Uniqueness or Unique Key attribute on a model property other than primary key, but here I am going to discuss two possible best and easiest ways to do so into two parts of this series. This is Part 1.
There are lots of ways to implement Uniqueness or Unique Key attribute on a model property other than primary key, but here I am going to discuss two possible best and easiest ways to do so in two parts of these series. This is Part 2.
In this article, I’m going to show you how you can continue using EF Code First to model your database, while also using ReadyRoll to do the actual deployment of T-SQL change scripts and overcome the challenges of the Code First approach.
This article presents the techniques and caveats of building a 3-tire Azure hosted application using Silverlight 3 (presentation tier), .NET RIA services (business logic and data access), and Windows Azure Table (data storage).
Anytime you are developing a project using Entity Framework, you need to create a DataLayer class accessing each object within your model with different methods. This generator will do this stuff for you.
This article tries to explain why you should use Catel as the (or one of the) frameworks when developing WPF, Silverlight, and Windows Phone 7 applications.
Custom Rule Engine approach which can evaluate complex combinations of business rules. A sample application is provided in WPF following the MVVM pattern.
DefiningQueries are a very useful elements that you can use in Entity Framework in order to create views from the model against your database. The article will explain the DefiningQuery element.
I've been recently working on a smart client (WinForms) application backed by Entitiy Framework 4 (EF4) on Visual Studio 2010. In this blog post I will try to give you some tips regarding some limitations and points to be careful about EF4.
Support for enums in Entity Framework is probably the most desired feature, and it's strange it is not supported. This article will show a way to implement it using templates.
EF Dynamic Report is a small open source project which allows you to use Entity Framework mapping between types and tables as a dynamic report data source
In this article, we will see how to use entity framework in our Applications, developed through the various languages that Visual Studio allows us to use. The examples in this article and probably in the next, will be C # used under WinForms, but - as mentioned - this choice is not going to affect a
This chapter provides you with an overview and introduction to the Microsoft ASP.NET MVC framework. The goal of this chapter is to explain why you should build web applications using ASP.NET MVC
In today's world, application requirements are changing and software is constantly evolving. The Managed Extensibility Framework is a one stop solution for most business problems we solve in our day to day life. Applications targeting MEF can easily adopt to changes in business elegantly.
Entity Framework is world’s most difficult ORM for n-tier application. See how I have produced a 100% unit testable fully n-tier compliant data access layer following the repository pattern using Entity Framework.
In this article, we are going to implement CRUD operations using popular AngularJs library, ASP.NET MVC, $http & $window services and Entity Framework using Linq
In this article, I will explore an alternative method of implementing validation logic. I will show you how to perform validation by using the IErrorDataInfo interface.
Part 1 of 3 in a series of articles about generating SQL from an XML file format. This part describes the background to the project and talks about the development of the file format and an XSD schema.
Generic data manager provides thread specific IUnitOfWork repository tailored for your entities and takes care of all the plumbing and cleaning in a thread safe way.
This article explains the problem, when another transaction (concurrent or not) accidentally overwrites previously modified data and how to prevent this from happening.
This article will demonstrate how to enable searches in your applications. The fact that the ASP.NET MVC framework makes it easier to modularize and componentize your design/code makes it better with minimal effort.
This article is an attempt to implement a lightweight Enterprise Service Bus using content-based routing in WCF 4 and message mapping transformation using XSLT 2.0.
How Entity Framework Core 6 or 7 projects can take advantage of EF Core 8's OpenJson without having to migrate to EF Core 8 - using a custom NuGet Package for SQL Server
Rabbit Framework is a new lightweight framework for building web sites using ASP.NET Web Pages / WebMatrix. This article describes one interesting idea out of many found in the framework.
When an application suffers from performance problems, it’s common to assume the database is at fault. Ben Emmett examines why this often isn’t the case, and shows how you can dig into a .NET application’s use of SQL Server with ANTS Performance Profiler.
How to develop a Blazor server application dynamically and generate UI from Entity Framework using open-source Platz.SqlForms including master-details data entry
This work proposes the development of a layer integrated to a DMS system in order to map the user's behavior in analytical information allowing validations, more control and facilitating organizational decision making.
.NET Core 2.0 brings a lot of improvements to the system, and it brings a lot of pain to the developers as well. I had a lot of problems upgrading .NET Core 1.x apps to .NET Core 2.0; I yet have to feel the promise it makes about performance and so, but let us see how to upgrade our existing applica
The benefit of putting validation in the model layer is that, the validation rules will be enforced everywhere in the application that accesses the database. It also means that we can change the validation rule in one place and every UI element inside our app will automatically get updated.
This is an introductory article about creating an Odata Rest API in collaboration with Entity Framework. We are also going to use Autofac as our IOC container. Also, Repository and Unit of Work pattern will be used for cleaner access of persistence model through our ORM (Entity Framework).
A wrapper to work with the session, cookie, query string or cache in a unified, flexible and type safe manner while offering full support for JSON serialization.
A guide to constructing an application using Expression Blend and Silverlight for the front-end which obtains data from a WCF service and SQL Server back-end
This article explains why Silverlight is needed. Explains the basic things which are required to understand the working of silverlight. Beginners must start with this article.
In this article, I’m going to add the Telerik UI for ASP.NET to my previous Faceted Search with dtSearch article and do some refactoring to make my search page look better and easier to use.
This article presents some realistic unit and integration test examples in a N-tier web application to assist in writing tests that provide confidence in moving towards Test Driven Development (TDD)
In this article we will show one approach to decouple the Entity Framework generated code for stored procedures from the higher layers of code by using the Adapter Pattern
Using an EF designer-based data context for stored procedures returning multiple result sets in a data access Web API application built with the Code First approach
A step by step guide to create a layered web application based on ASP.NET Core, Entity Framework Core and ASP.NET Boilerplate frameworks with automated tests.
This series describes how to create modern desktop applications using the Microsoft Desktop Stack -- WPF, Entity Framework 4, and SQL Server Compact Edition 4. The series covers creating a WPF app designed around the MVVM pattern, integrating WPF with Entity Framework 4, using Entity Framework 4.
This series of articles explains how to use the Microsoft Stack and presents checklists for implementing it. This part explains using Entity Framework 4.0 with SQL Compact 4.0.
Convert uploaded video to MP4 and store it in database. Create thumbnail of the uploaded video and Stream the video from Database using HTML5 video tag and Entity Framework.
A WinForms UI using WCF services, Entity Framework, repository data access, repository caching, Unit of Work, Dependency Injection, and every other buzz work you can think of!
A self-diagnostics page that runs through your web.config and confirms all the settings are correct, is a quick and easy way to identify environment problems after configuration change or production deployment.