教程使用vb.net和MVC架构以及sql server创建WPF应用程序 [英] Tutorial Create WPF application using vb.net and MVC architecture and sql server

查看:90
本文介绍了教程使用vb.net和MVC架构以及sql server创建WPF应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello Everyone,



我正在尝试学习如何使用Vb.net和MVC架构创建WPF应用程序,经过网络的多次研究我可以没有找到一个教程可以帮助我从零学习如何创建一个模型和一个视图和一个控制器并进行通信,以及如何在sql server中创建一个存储过程我只是想用一个简单的例子使用所有这些技术所以我将由我自己继续。



有什么帮助吗?

Hello Everyone ,

I am trying to learn how to create a WPF application using Vb.net and the MVC architecture , after many research in the net i could not found a tutorial that could help me to learn from zero how to create a Model and a View and a controller and communicate them and also how to create a stored Procedure in sql server i just wanna a simple example using all of those technologies so i will continue by my own .

Is there any help ?

推荐答案

有可能你不会得到所有这些只需一个包装。 Windows Presentation Foundation是一个很棒的框架,大多数论坛(包括特别是CodeProject)都包含它的资源。我建议你先做其他事情,给MSDN一个彻底的了解。 MSDN拥有大量资源。阅读 Windows Presentation Foundation [ ^ ]然后阅读即将发表的文章参军。这是一个搜索链接 [ ^ ]对于CodeProject上的Windows Presentation Foundation,使用社区提供的资源。



Windows Presentation Foundation是为MVVM架构而开发的,不适用于MVC;虽然它可以使用。在MVVM中,您使用命令绑定等,而不是将触发器传递给后端代码以执行函数左右。模型 - 视图 - 控制器是一个非常古老的架构,任何人都可以使用它,这里有我自己的文章。 对MVC的新手?阅读本文...... [ ^ ]



SQL Server只是另一项技术,可用于存储数据。也许,你已经知道了。我可以引导你到几个月前我写的另一篇文章。 如何将SQL数据库连接到C#程序,初学者教程 [ ^ ]我的所有文章都使用C#,您可以轻松地将C#代码转换为VB.NET代码。但基本概念仍然相同。



VB.NET或C#没关系,你可以同时使用它们。它们都编译成本机IL语言( MSIL [ ^ ])在.NET框架上执行。
Chances are that you are not going to get all of these in just one single package. Windows Presentation Foundation is a great framework and most of the forums (including and especially CodeProject) contains resources for it. I would suggest that you before anything else, give MSDN a thorough look. MSDN has a great bundle of resources. Read about Windows Presentation Foundation[^] and then read upcoming articles as they join up. Here is a search link[^] for Windows Presentation Foundation on CodeProject, use the resources provided by the community.

Windows Presentation Foundation is developed for MVVM architecture, not for MVC; although it can be used. In MVVM, you use the command bindings etc, instead of passing a trigger to the back-end code to execute a function or so. Model-view-controller is a very old architecture and anyone can use it, here have my own article about it. Novice to MVC? Read this…[^]

SQL Server is just another technology, which can be used to store the data. Perhaps, you know about it already. I can just guide you to another article that I wrote back months ago. How to connect SQL Database to your C# program, beginner's tutorial[^] All of my articles use C#, you can convert C# code to VB.NET code easily. But the underlying concept remains same.

VB.NET or C# doesn't matter, you can use both of them. Both of them compile down to the native IL language (MSIL[^]) which executes on .NET framework.


这篇关于教程使用vb.net和MVC架构以及sql server创建WPF应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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