Solved

.Net template

Posted on 2014-07-29
3
275 Views
Last Modified: 2014-07-30
I need to start a small new project in Visual Studio 2012. This project only contains some calculation methods for other projects/.net web application to call, as those calculations are very commonly used. There is no UI part at all. There is a very small DB contains only 3 or 4 tables. The project does not update or insert to DB, but just read/select only.

I'm using Visual Studio 2012, C#, .net environment and SQL Server 2008 R2.
1. What Visual Studio project template I should use? C# class library or other template?
2. Since the project only read DB data, how about data access? What should I use?

My first time start a simple project like this, although I have ever worked/maintained on .net Form / MVC project.

Please advise.
0
Comment
Question by:minglelinch
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 29

Assisted Solution

by:QPR
QPR earned 250 total points
ID: 40228332
If you have no UI then a class library would be fine to hold your commands.
Then you can add this resulting dll as a reference to other projects that need the functionality within the class.
0
 
LVL 52

Accepted Solution

by:
Carl Tawn earned 250 total points
ID: 40228564
Data access wise you have several options: ADO.Net, Linq-to-sql, Entity Framework - to name a few.

If this is your first project the I would suggest ADO.Net.  ADO.Net still forms the basis for data access for the other technologies mentioned. You'll be better off in the long run if you know how the engine works, rather than just knowing how to drive it.
0
 
LVL 1

Author Closing Comment

by:minglelinch
ID: 40228824
That's what I want. Thanks a lot!
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Dynamics CRM Plugin Query TotalRecordCount returning -1 13 60
Change to file doesn't show up 16 76
ASP.NET - Why is accordion not working? 3 47
orderby list (from Json) 1 29
Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question