关于asp.net中的Client -Server编程c# [英] Regarding Client -Server programming in asp.net c#

查看:69
本文介绍了关于asp.net中的Client -Server编程c#的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

这个代码项目对我来说是全新的,由于一些问题并寻求帮助,请有人帮我解决这些问题。

我正在为我的最后一年项目设计和开发A 技术论坛(实时实施),并且在asp.net c#中有点经验,并决定使用c#作为前端,使用mysql作为后端问题是

1:我需要知道哪个平台会更好,即A> ASP.Net MVC3 或B >普通的asp.net网页 c> ASp.Net网络表单

2:我是否需要为此目的创建一个Web服务器?如果是,那我怎么能开始在asp.net C#中编写简单的客户端和服务器?

3:如果你们告诉我使用 MVC3 创建服务器那么请为我推荐一些很好的网站教程。学习这两个东西.. ???

请帮我这个我会很棒

谢谢

问候

Hello Everyone,
Am completely new to this code project am here due to some issues and seeking out some help please someone out there help me with these issues.
"I am designing and developing A technical forum(real time implementation) for my final year project and am bit experienced in asp.net c# and have decided to use c# as front end and mysql as back end" the issue is
1: i need to know which platform will be better i.e A> ASP.Net MVC3 or B>normal asp.net web pages c> ASp.Net Web Forms etc
2: whether i need to create a web server for this purpose ?? and if yes then how i can start writing a simple client and server in asp.net C# ???
3: if you guys tell me to use MVC3 and to create server then please please suggest me some good tutorials of websites from where i can learn these two stuffs..???
please please help me with this i will be greatfull
Thank You
Regards

推荐答案

这将是一个什么是最好的汽车的主题 - 每个人都有它的最爱。但让我成为第一个。我建议使用MVC3甚至更好的MVC4。我会告诉你原因,但让我先回答其他问题:

2)这些都不是,因为它们都可以在IIS下托管(在客户端和客户端都可以找到标准的Web服务器)服务器版本的Windows - 我建议IIS7 +(Vista或Windows Server 2008或更高版本))。根据客户端服务器的定义,Web应用程序可能不需要为这些事情烦恼,你知道 http是如何工作的。使用MVC4,你可以使用webapi,它可以让你轻松制作自己的网络服务器 - 但我建议你不要走那么远。

3) http://www.asp.net/mvc/tutorials/getting-started-with- aspnet-mvc3 / cs / intro-to-aspnet-mvc-3 [ ^ ]

http://www.asp.net/mvc/tutorials/mvc-4/getting -started-with-aspnet-mvc4 / intro-to-aspnet-mvc-4 [ ^ ]



为何选择ASP.NET MVC?

我的观点:这是微软做Web应用程序最好的方式。如果你做得对,你将遵循非微软网站开发的主流,这与其他人认为可以正确完成网络开发的方式非常接近。只用两个字:

- 你可以在html,css和javascript中使用你的知识

- 你可以完全控制发出的html代码和

- 你仍然拥有服务器端背后的框架的全部优势

- 你在客户端做你认为应该在客户端做什么,你在服务器端你做的是你的想法你必须在服务器方面做 - 而且你们之间有明确的界限

- 它通过利用关注点分离来指导你实现可持续的,可维护的开发。

更好阅读这些也是:

http://msdn.microsoft.com/en-us /magazine/dd942833.aspx [ ^ ]

在7天内逐步学习MVC(模型视图控制器)第1天 [ ^ ]
This will be a "what is the best car" like topic - everybody has it''s favorite. But let me be the first one. I sugges MVC3 or even better MVC4. I''ll tell you why, but let me answer to the other questions first:
2) None of these, since they all can be hosted under IIS (standard web server found in both the client and server editions of windows - i suggest IIS7+ (Vista or Windows Server 2008 or above versions)). A web application is by definition client-server, you will probably not need to bother about these things, yous know how http works. With MVC4 you have webapi, that allows you to make your own webserver easily - but I suggest you don''t go that far.
3) http://www.asp.net/mvc/tutorials/getting-started-with-aspnet-mvc3/cs/intro-to-aspnet-mvc-3[^]
http://www.asp.net/mvc/tutorials/mvc-4/getting-started-with-aspnet-mvc4/intro-to-aspnet-mvc-4[^]

Why ASP.NET MVC?
My opinion: it is the best thing could happen to the Microsoft way to do web applications. If you do it right you will follow the main streams of non-microsoft web development, this is close to how other people think that web development could be done right. Just in two words:
- you can use your knowledge in html, css, and javascript
- you have full control over the emitted html code and
- you still have the full strength of the framework behind you on server side
- you do on client side what you think should be done on client side and you do on server side what you think you have to do on server side - and you have a clear line between them
- it guides you towards a sustainable, maintainable development by leveraging separation of concerns.
Better read these too:
http://msdn.microsoft.com/en-us/magazine/dd942833.aspx[^]
Learn MVC (Model View Controller) step by step in 7 days – Day 1[^]


这篇关于关于asp.net中的Client -Server编程c#的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆