Solved

.Net template

Posted on 2014-07-29
3
263 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
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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

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…
This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

757 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

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now