Solved

.Net template

Posted on 2014-07-29
3
283 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: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering 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

Today is the age of broadband.  More and more people are going this route determined to experience the web and it’s multitude of services as quickly and painlessly as possible. Coupled with the move to broadband, people are experiencing the web via …
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…

623 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