Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
ASP.NET is a web application framework developed by Microsoft to allow programmers to build dynamic web sites and web applications.
2
votes
Photo gallery user control
You really just need an IEnumerable of strings and not images. You could probably directly bind the results of the GetFiles method!!
Also I don't really see a need to break the method out of Page_Lo …
0
votes
Avoid calling init method on each return method
I would either refactor the class to be a ModuleFactory so it constructs and configures a new instance of a Module, and access its properties/methods outside, or refactor your init method to instantia …
2
votes
EF lookups and enums
You have a deeper issue in that you are not taking advantage of letting EF do the work for you with enums so you're forced to cast int values to their respective enum values.
Here's a link to a video …
2
votes
Generic Repository, UnitOfWork and IOC container
First, I would caution against using the generic repository + unit of work pattern that was super trendy a few years ago because it has problems not unlike the problems you're facing (along with probl …