Quantcast
Browsing latest articles
Browse All 93 View Live

Commented Issue: Multiple errors when running initial build [8126]

I tried the OpenAuth fix in web.config and that did not resolve that issue either, but here is a list of all the build errors I'm getting below. Also the NuGet installation working without issue....

View Article


New Post: IServiceLocator in project Silk

In project Silk they use IServiceLocator to get an instance of "Handler" classes, what is the benefit of using this? I mean in the controllers it looks like this:...

View Article


New Post: IServiceLocator in project Silk

Hi, I believe that the main objective of the Using method is to simplify the creation of the handlers. Let's take for example the ReminderController and the AddReminderToVehicle handler. If you want to...

View Article

New Post: IServiceLocator in project Silk

Thanks for a good answer. They could have done this by using only the unity container. Msdn says:"In the following situations, it may be appropriate for you to use the IServiceLocator:•You are an...

View Article

New Post: IUnitOfWork in project silk

Hi I project silk they are using IUnitOfWork in the BaseRepository class. Is that really necessary? The BaseRepository is adjusted to use with EF dbContext so its not an abstraction for the context in...

View Article


New Post: IUnitOfWork in project silk

Hi, I believe that maybe the interface was planned to provide an abstraction layer between the data context and the repositories (besides the BaseRepository, no sub repository implementation access the...

View Article

New Post: Performance issue

Hello. I found lots of filtering are performed after getting all data from DB. Because the repository layer and business layer all return IEnumerable<>. Does it affect the performance a lot?...

View Article

New Post: Performance issue

Hi, I believe that usually, when you implement a design pattern to maintain testability, scalability, etc. it's common to experience a small decrement in the application's performance when compared to...

View Article


New Post: Performance issue

Hi, Thanks for your prompt reply. For functions in data layer, the function ToList() is called before return. For example, public IEnumerable<Reminder> GetOverdueReminders(int vehicleId, DateTime...

View Article


New Post: Whats controlling dbContext instances in IUnitOfWork

When Silk are using repositories in handler-classes, repositories take a IUnitOfWork in the constructor witch unity makes sure gets an instance of MileageStatsDbContext injected. But when multiple...

View Article

New Post: Performance issue

Hi, The following note, took from Chapter 11 - Server-Side Implementation - Implementing the Repository Pattern explains the design decisions took by the team regarding this topic: The...

View Article

New Post: Whats controlling dbContext instances in IUnitOfWork

Hi, In MileageStats the configuration for the type mappings used by Unity are set in the unity.config file (or unity.debug.config file depending your launch configuration). In that file you can find...

View Article

New Post: IUnitOfWork in project silk

They did it so they could use Unity to inject a DBContext into the repositories. DBContext doesn't otherwise implement an interface, although it does have a SaveChanges method already so technically...

View Article


New Post: Handlers and a service-classes

I have a couple of questions of handlers and service-classes. What is the difference between the two? From one post i understood that there isn't any. If so why the separation? The handlers seem to...

View Article

New Post: Handlers and a service-classes

Hi, Although from the side of the "consumer" (for example a controller consuming a service or a handler) they appear to be similar, the difference is how they are implemented. In my opinion, a service...

View Article


New Post: Roadmap or future of project Silk

Check the linkhttp://msdn.microsoft.com/en-us/library/ff921348.aspx it is still on and it will be. There is no near future retirement for project silk.

View Article

Created Unassigned: Remove IUnitOfWork [8128]

Since the pattern is used incorrectly, I propose that it be removed to avoid confusing developers who look to the Silk project as something off of which to model new projects.

View Article


New Post: Models in different layers

DCherubini wrote: Hi, The documentation describes the handlers in the domain project as " a set of classes that implement the core behavior of the application ," where each handler is in charge of...

View Article

Created Unassigned: Silk-RTM.exe installation module does nothing [8129]

I cannot install the silk project; when I run Silk-RTM.exe that I got from the project download page, and click Yes to accept terms, it shows a quick progress bar, then ends with a message box entitled...

View Article

New Post: 'System.Data.Entity.Database.DefaultConnectionFactory' is obsolete

Hello. I need your help to solve this problem. In trying to build the project, the following error occurs: Warning as Error 26 Error: 'System.Data.Entity.Database.DefaultConnectionFactory' is obsolete....

View Article
Browsing latest articles
Browse All 93 View Live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>