我无法独自学习asp.net! [英] Iam not able to learn alone asp.net !!

查看:63
本文介绍了我无法独自学习asp.net!的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我正在尝试学习高级asp.net,但我听不懂.我已经开发了10个网站,但它们是初学者网站.我正在尝试阅读书籍,但我听不懂它们.在编程中.例如,我试图理解为什么我们在asp.net中使用接口,但是我却无法理解它.此外,我试图理解为什么我们使用实体框架但又不理解它,请任何人解释一下我在没有给我链接以期望所有人都是专家的文章的情况下,用简单的方式做了这两项工作.

Hi all ,

I am trying to learn advanced asp.net,but i am not able to understand it.I already developed 10 websites but they are beginners websites.I am trying to read books but i am not able to understand them.Knowing that i have passion in programming.For example i tried to understand why do we use interface in asp.net but i am not able to understand it.Also i tried to understand why do we use entity framework but also did not understand it.Please can anyone explain to me what does those 2 things do in a simple way without giving me links to articles that expects that all people are experts.?

Thanks.

推荐答案

使用接口是面向对象编程范例的一部分.这不容易解释,如果您不理解所有这些书,我怀疑这里的任何人都可以以您理解的方式充分解释它.您可能只是缺少一些必要的基础知识.我建议您获得一些有关编程和面向对象设计的初学者书籍.
一个不错的起点是CodeProject!有很多初学者文章.在刚开始时帮了我忙的是我如何向妻子解释OOD [ ^ ].同一作者的另一篇文章是后续文章,对理解诸如接口之类的抽象概念也有很大帮助:我如何向妻子解释设计模式:第1部分 [ ^ ]

关于面向对象设计的另一篇很棒的入门文章:面向对象编程概念(OOP)简介及更多内容 [ ^ ]

现在,实体框架是一个完全不同的故事.如您所说,如果您建立了10个网站,则肯定使用了DataAdapters,CommandObjects,ConnectionObjects,DataTables,DataSets等来将数据读取和写入数据库.这可能是一个令人厌烦的过程,并且DataSet和DataTables不是类型安全的.这意味着每个值都是一个对象,这可能导致错误的TypeCast等.
实体框架需要您完成很多工作(例如任何对象关系映射器或ORM)!它基于数据库的元数据创建您的类.因此,如果您的表Customer具有ID,Name,Address和VatNumber列,则实体框架可以生成Customer类,并将这些列作为Properties及其正确的.NET类型(字符串,int,long等).但是,这并不容易.因此,我建议您也从这里开始阅读一些初学者文章.我发现 MSDN [
Using Interfaces is part of the Object Oriented Programming paradigm. This is not easy to explain and if you did not understand all those books I doubt anyone here can fully explain it in a manner that you understand. You may simply be missing some necessary basic knowledge. I suggest you get some beginners books on programming and Object Oriented Design.
A good place to start is CodeProject though! There are quite some beginner articles. One that helped me out when I was just starting is How I explained OOD to my wife[^]. Another one, by the same author, is a follow-up and also a great help to understanding abstract concepts such as Interfaces: How I explained Design Patterns to my wife: Part 1[^]

Another great introduction article on Object Oriented Design: Introduction to Object Oriented Programming Concepts (OOP) and More[^]

Now the Entity Framework is a whole different story. If you have build 10 websites, as you say, certainly you have used DataAdapters, CommandObjects, ConnectionObjects, DataTables, DataSets etc. to read and write data to your database. This can be a tiresome process and DataSets and DataTables are not type-safe. This means every value is an Object, which can result in wrong TypeCasts etc.
The Entity Framework takes a lot of that work from your hands (like any Object Relational Mapper or ORM)! It creates your Classes based on your database''s metadata. So if you have a table Customer with the columns ID, Name, Address and VatNumber then the Entity Framework can generate a Customer Class with those columns as Properties and their correct .NET types (string, int, long etc.). However, this is not easy. So I suggest you start reading some beginner articles here too. I have found MSDN[^] to be a great resource. But I am sure you will find many great articles and resources by using Google :)
Hope it helps!


执行ASP.NET网站上的教程.您可能一开始可能不了解您的操作,但是在完成其中一些操作之后,它应该会变得更加清晰.

但是,您可能会先听几次视频,过了一会儿,您会更好地了解它的工作原理,然后尝试一些教程.

该网站上有很多有趣的文章,教程和视频.

http://www.asp.net/ [ ^ ]
Do the tutorials found on ASP.NET web site. You might not understand what you do at first but after doing a few of them, it should become clearer.

However, you might start by listening to a few videos a few times and after a while you will understand better how it works and then you might try some tutorials.

That web site has a lot of interesting articles, tutorials and videos.

http://www.asp.net/[^]


如果您遇到界面问题,可以通过该电子邮件ID piyushshrm211@gmail.com和邮寄给我我会向您发送与接口相关的编码和许多其他内容
If you r suffering of the interface you can mail me on that email id piyushshrm211@gmail.com and after mail i will send you the interface related coding and many other things


这篇关于我无法独自学习asp.net!的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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