What does WCF mean in following context? [closed] - asp.net-mvc

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
am a newbie, but I am given this project where I have to make an address book using MVC. The problem is I have no clue how to use MVC I am familiar with asp.net though. I have no clue how to get started. I AM NOT ASKING ANYONE TO DEVELOP ENTIRE PROJECT FOR ME i am just unclear where to start and What WCF mean, where do i have to use it in this project? HOW LONG WOULD IT TAKE ME TO LEARN MVC from scratch and complete this project? Assuming i am at beginner level in c sharp and asp.net The following are details:
Functional Requirements:
Information of Individual people will be stored in the Address Book.
Each Individual can have multiple phone numbers, email addresses and instant messenger contacts.
Show a List of All the Contacts.
Allow Adding new Contacts
Allow Viewing / Editing / Deleting of Contacts
Viewing of Contacts shows the detailed Contact Information and linked Phone Numbers, EmailAddresses and Instant Messenger Contacts.
You can Add / Edit / Remove Phone Numbers, Email Addresses and Instant Messenger Contacts.
Technical Details:
Contact will have the following information:
Title
First Name
Last Name
Middle Name
Age (Numeric Field)
Date of Birth (Date Field)
Sex : (Male or Female) -
Radio Box Category : Options are Business, Family, Other (Drop-down box) - This should be a Enum in your Data Structure
Phone Numbers will have following information:
Phone Number Type : Home, Work, Mobile, Other (Enum)
Phone Number:
Email Address will have following information:
Email Type: Primary, Secondary, Work, Home, Other (Enum)
Email Address:
Instant Messenger Contact will have following Information
IM type: AIM, MSN, Yahoo, Jabber, GTalk, Other (Enum)
IM Address:
The application should be a N Tier Architecture, using objects and WCF services. The Website should be done using MVC .
Your web application should not have any hard coded styles and should use CSS for all styling. Also your web application should have a Master Page / Layout [ look how you can deal with master page concept in MVC ] to allow easy updating of all pages at a later date.
All the input fields need to be validated.
Incase of any errors on the page, the error message should be shown on the top of the page (Default error page should never be shown) and the error message should be logged in a logging file (use Log4Net for logging).
Steps:
Create your Class Structures
Create your Database Structure. Make sure that you have your SQL file different so that the application can be easily ported to a different machine.
Create your WCF Service with necessary methods.
Write NUnit tests for your WCF Service Methods.
Create an HTML Prototype on how your pages will look and get that approved before you start actual implementation.
Create your Web Application.
Create an msbuild script to build your code.

Good ASP.NET MVC Tutorial: http://www.asp.net/mvc/tutorials/getting-started-with-aspnet-mvc3/cs/intro-to-aspnet-mvc-3
WCF means: http://msdn.microsoft.com/en-us/netframework/aa663324.aspx
Information on using ASP.NET MVC and WCF together: http://weblogs.asp.net/cibrax/archive/2010/10/08/asp-net-mvc-wcf-rest-and-data-services-when-to-use-what-for-restful-services.aspx

WCF is Windows Communication Foundation. It's the technology you use to create the web service that the MVC web-site will communicate with to retrieve and update data in the backend database.
Basic idea is the user interface is a web-site served by ASP.Net MVC. The MVC application operates as a client to the WCF web service. The WCF service is the front-end to the business logic layer which process and stores/retrieves the information to/from the database.
Not sure about WCF resources but for learning MVC you can do a lot worse than looking at the Nerd Dinner ( http://nerddinnerbook.s3.amazonaws.com/Intro.htm ) and MVC Music Store ( http://www.asp.net/mvc/tutorials/mvc-music-store ) tutorials. They don't deal with MVC communicating with a WCF back-end, but should give you a good handle on MVC.

This is my favorite for learning any new technology.
http://www.asp.net/mvc/pluralsight

Related

Best ASP.NET MVC way to generate documents

I'm currently working on a proof of concept web app project.
The idea is : ASP.NET MVC User Interface and ASP.NET MVC Web API linked to a C# class library for access data from an ODBC source and doing business treatments.
In this project, one of the biggest part is generate documents with datas collected on the ODBC, stock them in a file server and send them by mail.
What is the best way to do that? Directly PDF? or first Word (because documents are pretty complex, with charts,...)
The main fact, is that it must be fluent for the end user. May be using asynchronous programming on the server side?
Thanks for your advice and replies :)

how do you integrate a save/publish invoked from excel to asp.net mvc?

I've been probing around and have not found any hits nor do I have a lot of experience with this topic. I would like to open an excel document (ideally from an asp.net mvc model) and then post this model back to an asp.net mvc controller action for a save/publish through the application.
I would prefer to stay away from excel storing directly to the database, opting instead to go through the mvc action in order to adjust cache, run business rules, etc.
Any tips on places to look or how this is done? I know TFS 2010 does this fine as does sharepoint but I'm not aware of the underlying technologies.
Thank you in advance!!
Jim
After more research it is apparent the answer to this lies in the VSTO libraries. Initially I had a hurdle in place with our virus scanner which would not allow me to build a custom ribbon giving 'access denied' when attempting to load in my .dll's.
Beyond this, the API is fairly straightforward for adding a custom ribbon which has access to WCF, among any other .NET APIs within Excel (or any office tool). This WCF service can invoke the MVC Controllers, if required, or directly perform business logic themselves - the sky's the limit.

"ASP.NET MVC" CMS in Sharepoint Services

I'm evaluating the options for a CMS in ASP.NET MVC. I'm currently working on a multi-tenant app that requires CMS functionality. I've been looking at N2, Mojoportal etc, but I'm also interested in what SharePoint Services could bring to the table. Specifically I don't want a SharePoint site but rather I'd like to potentially use the sharepoint object model, db tables, etc. to form the core of the CMS.
Is this possible with SharePoint or am I going down the wrong path? I've not had much experience with it.
SharePoint is not an ASP.NET MVC application, it's all web forms. There is the SharePointMVC CodePlex project that attempts to bring MVC to SharePoint.
At the end of the day you are very likely to need to follow the 'web forms' way of doing things sooner or later with SharePoint. So if MVC is a requirement I would not use SharePoint. However your requirements should probably be around what the customers want, not what technology to use?
I also wouldn't take the approach of using SharePoint's back end only. See this question for some good reasons why.

Can Anyone Recommend an ASP.NET MVC Group Chat Control?

I need to provide a window on an ASP.NET MVC web page where registered users of the site can group chat live.
Can anyone recommend a component or control that can provide real-time group chat that I can embed on an ASP.NET MVC page?
I am willing to use free or commercial components, as well as a web service.
I looked into a few web 2.0 approaches, like:
Campfire - problem is, it takes you to a separate site, and I can't embed the chat window (at least that's what they said when I contacted support)
Meebo - requires that users have Meebo accounts (I think)
What's unique here is that I need to enable site users to chat live with each other - not with a central support person (like LivePerson, or the Meebo widget).
All you really need is an action to post new messages to, an action to poll for updates, and a div to place the items.
You can accomplish all of this pretty easily with ajax and those two actions on a ChatController in ASP.NET MVC.
+1 for Campfire though, it's a really well polished tool.
There's an unofficial developer API for Campfire called Tinder.
I saw that that 37 Signals was promoting it on their website here, so it's probably pretty good.

How to provide Calendar and Mail Services to asp.net mvc web site users

In our asp.net mvc based web site, we want to allow users to manage their calendar and emails.
We don't want to develop these services on our own as there are too complex and time consuming.
Are there any open source projects that we can adopt? Any other suggestions?
Calendar Here: CodeProject
As for email I am not aware of anything currently, but it's not the type of thing people will make without cause, or at least not this early on. The email management should be a lot simpler to implement than the calendar though, so I say take the time to make one, simply because you have got the cause.

Resources