Tagged Questions
0
votes
2answers
270 views
LINQ TO SQL or ADO.NET? [closed]
What is the best choice LINQ TO SQL (.DBML) or using ADO.NET with procedures for a database with 29 tables and about 30 concurrent users that will run the system that I am going to build?
I know that ...
4
votes
3answers
328 views
Is querying KeyValue Pairs efficient compared to two-property objects?
I'm working on a webservice and I'm returning JSON. However, I'm returning a List<KeyValuePair<string, int>>, since that's all I'm really ever going to be dealing with (property => value)
...
4
votes
2answers
274 views
MVVM Reporting App Approach ? Data Access Layer?
I'm trying to follow the MVVM pattern in a reporting / statistics application that I'm making in C# / WPF.
I have made many model classes to hold properties as a starting point. Some of these models ...
1
vote
2answers
419 views
Best practice modelling an active record entity using Linq-To-SQL as DAL
Currently I'm starting a new system on my company, and we are using a good separation between models, views and controllers, basically using Asp.Net MVC 3 for the user UI, and a C# class library for ...
3
votes
3answers
309 views
LINQ to SQL - Business logic in another assembly?
So I am trying my hand at this whole tiered application thing with ASP.NET 4. The software I've developed is a maintenance nightmare and it isn't very well organized. I've done some looking around ...
1
vote
5answers
312 views
learning web development c#
I've been learning c# "for a while" now and I would like to move to web development as that is actually what I'm interested in, however I dont know where would I start from so I would like if someone ...
8
votes
6answers
391 views
As a new programmer, how much time should I spend learning new libraries?
As a junior programmer, how much time should I spend focusing on new libraries or language features, as opposed to learning how things worked before those libraries came about? How dangerous is it to ...
6
votes
3answers
398 views
Best algorithm/practice when creating a search mechanism for your database?
I have been designing a database where it is very important to provide users with a good search mechanism. So I was wondering what some of the best practices are for using keywords to search over ...
0
votes
3answers
264 views
Are there any good resources for refactoring existing C# code to use LINQ while keeping your tests passing?
I've been teaching myself a little LINQ and an exercise I thought would be useful was to take my existing Project Euler C# code, which I built using Test Driven Development and gradually convert it to ...
6
votes
7answers
452 views
LINQ Style preference
I have come to use LINQ in my every day programming a lot. In fact, I rarely, if ever, use an explicit loop. I have, however, found that I don't use the SQL like syntax anymore. I just use the ...
1
vote
2answers
188 views
C# Linq to <blank> which type is most used and which are most hated/unneeded
I have read and used many good Linq to . I have also read that some of the Linq to __ are not worth learning as there are better techniques. I was just wondering which of the bunch should I ...
5
votes
4answers
486 views
Displaying code in Power Point (or other presentation software)?
I'm going to be introducing LINQ to my co-workers next week. I'm starting with an existing method from our production code and slowly converting it to use LINQ.
I don't want to take the time to ...
13
votes
9answers
2k views
Senior Interview LINQ questions
I'm preparing a LINQ section in interview questions for senior programmers. What are the most interesting questions in LINQ to include? And why?
3
votes
4answers
774 views
Should I be learning Linq, Direct SQL Commands (in .net), EF or other?
Basically, I have a very good knowledge of plain old SQL coming from Classic ASP programming.
Over the past couple of months, I have been learning C# and today was my first full day at MVC 3 (Razor) ...