15,908,172 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by pes1957 (Top 3 by date)
pes1957
6-Jan-14 14:19pm
View
db7uk:
I did send you my entire solution of projects along with the database I am using in a .rar file. Did you not receive it? I sent it via gmail and, since it was over 25 meg it will warn you that gmail could not test it for viruses, etc. I just replied via the response I received in my gmail acct. when I got one of your responses. Let me know if you got this or got the option to download it - so I know I am doing at least THAT right. :) Thanks again mate
PS perhaps we can connect on a chat service where we can exchange direct email addresses in a not so public manner. One that comes to mind is Paltalk where I use the name "paydirt". As this is a live chat service let it be known you are 6 hours ahead of me.
pes1957
6-Jan-14 0:31am
View
Yes, it seems visual studio is acting very strange all of a sudden. I bought and installed a program called PC Helper 360 and, I am not quite sure, but since around then (the next day) when I went to load VS 2013 it took forEVER to launch and the same with REBUILD and running it. I do not know what happened, but when I would run a build/rebuild in the past it would build my 3 projects each once, as in 123. Now it builds 1,twice, 2 three times, and 3, twice. See the new info on builds it has been giving me below (notice the added complaint in build 2 of 2 about a versoion mismatch:
1>------ Rebuild All started: Project: SportsStore.Domain, Configuration: Debug Any CPU ------
1> SportsStore.Domain -> C:\Projects\SportsStore\SportsStore.Domain\bin\Debug\SportsStore.Domain.dll
2>------ Rebuild All started: Project: SportsStore.WebUI, Configuration: Debug Any CPU ------
2>C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets(1635,5): warning MSB3277: Found conflicts between different versions of the same dependent assembly that could not be resolved. These reference conflicts are listed in the build log when log verbosity is set to detailed.
2> SportsStore.WebUI -> C:\Projects\SportsStore\SportsStore.WebUI\bin\SportsStore.WebUI.dll
3>------ Rebuild All started: Project: SportsStore.UnitTests, Configuration: Debug Any CPU ------
3> SportsStore.UnitTests -> C:\Projects\SportsStore\SportsStore.UnitTests\bin\Debug\SportsStore.UnitTests.dll
========== Rebuild All: 3 succeeded, 0 failed, 0 skipped ==========
This is puzzling to me as well as discouraging. I searched all over to find out why it takes over 5 minutes JUST to get VS up and running. I even did a repair on it - and still it is slow on everything it does,,,, even when I click on a button to open file or view it hangs a tad bit.
If you have ever encountered this and resolved it I would be indebted. My only other choice would be to wipe my hard drive and reload from scratch, something I do NOT want to to.
Paul
pes1957
3-Jan-14 16:35pm
View
db7uk - I would gladly send you the whole project, thus far, so you can see just what is happening. Anyway, the Codes you are asking for follow:
THE REPOSITORY
using SportsStore.Domain.Abstract;
using SportsStore.Domain.Entities;
using System.Linq;
namespace SportsStore.Domain.Concrete
{
public class EFProductRepository : IProductRepository
{
private EFDbContext context = new EFDbContext();
public IQueryable<Product> Products
{
get { return context.Products; }
}
}
}
THE DATA CONTEXT
using SportsStore.Domain.Entities;
using System.Data.Entity;
namespace SportsStore.Domain.Concrete
{
public class EFDbContext : DbContext
{
public DbSet<Product> Products { get; set; }
}
}
Let me know how you feel about really taking this down to the ATOM.
TY
Paul