<legend id='YRRqj'><style id='YRRqj'><dir id='YRRqj'><q id='YRRqj'></q></dir></style></legend>
      <bdo id='YRRqj'></bdo><ul id='YRRqj'></ul>
  • <tfoot id='YRRqj'></tfoot>
    <i id='YRRqj'><tr id='YRRqj'><dt id='YRRqj'><q id='YRRqj'><span id='YRRqj'><b id='YRRqj'><form id='YRRqj'><ins id='YRRqj'></ins><ul id='YRRqj'></ul><sub id='YRRqj'></sub></form><legend id='YRRqj'></legend><bdo id='YRRqj'><pre id='YRRqj'><center id='YRRqj'></center></pre></bdo></b><th id='YRRqj'></th></span></q></dt></tr></i><div id='YRRqj'><tfoot id='YRRqj'></tfoot><dl id='YRRqj'><fieldset id='YRRqj'></fieldset></dl></div>

        <small id='YRRqj'></small><noframes id='YRRqj'>

      1. 作为 ColdFusion 开发人员,您应该如何学习 ASP.NE

        时间:2023-06-05
        <tfoot id='Ayx7u'></tfoot>

          <small id='Ayx7u'></small><noframes id='Ayx7u'>

            <bdo id='Ayx7u'></bdo><ul id='Ayx7u'></ul>
              <tbody id='Ayx7u'></tbody>
          • <legend id='Ayx7u'><style id='Ayx7u'><dir id='Ayx7u'><q id='Ayx7u'></q></dir></style></legend>
          • <i id='Ayx7u'><tr id='Ayx7u'><dt id='Ayx7u'><q id='Ayx7u'><span id='Ayx7u'><b id='Ayx7u'><form id='Ayx7u'><ins id='Ayx7u'></ins><ul id='Ayx7u'></ul><sub id='Ayx7u'></sub></form><legend id='Ayx7u'></legend><bdo id='Ayx7u'><pre id='Ayx7u'><center id='Ayx7u'></center></pre></bdo></b><th id='Ayx7u'></th></span></q></dt></tr></i><div id='Ayx7u'><tfoot id='Ayx7u'></tfoot><dl id='Ayx7u'><fieldset id='Ayx7u'></fieldset></dl></div>
                • 本文介绍了作为 ColdFusion 开发人员,您应该如何学习 ASP.NET?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

                  问题描述

                  限时送ChatGPT账号..

                  作为一个使用 Adob​​e 的 ColdFusion 编写 Web 应用程序大约 10 年的人,我决定将 ASP.NET 作为字符串添加到我的弓上.

                  As someone who has spent around 10 years programming web applications with Adobe's ColdFusion, I have decided to add ASP.NET as a string to my bow.

                  对于长期使用 CF 和底层 Java 的人来说,ASP.NET 对我来说似乎有点陌生.我应该如何开始使用 ASP.NET,这样我才能真正危险地使用它?我需要非常详细地了解 C# 吗?

                  For someone who has spent so long with CF and the underlying Java, ASP.NET seems a little alien to me. How should I go about getting up to speed with ASP.NET so that I can be truly dangerous with it? Do I need to know C# at any great amount of detail?

                  我希望能够快速构建基本的网络应用程序,这样我就可以学习更多做棘手的事情.

                  I want to be in a position where I can build basic web apps fairly quickly so I can learn more doing the tricky stuff.

                  推荐答案

                  我可能只有六个月的时间走同样的路,但以下是我迄今为止的经验中的一些想法:

                  I'm only maybe six months down the same path, but here are some thoughts from my experience so far:

                  如果您完全有 Java(甚至 CFScript)方面的经验,那么 C# 语言应该不会给您带来太多问题.不过,作为参考,当我开始时,我发现 csharp-station 是一个很好的语言入门基本.就 ASP.NET 而言,它对您没有多大帮助;但它对语法有好处.更多您将熟悉 .NET 库.IDE 实际上可以在这里提供巨大的帮助.

                  The C# language shouldn't give you much problem if you have very much experience with Java at all (or even CFScript). As a reference, though, when I was starting, I found csharp-station a good primer for language basics. It won't help you much as far as the ASP.NET side goes; but it is good for syntax. More you'll be familiarizing yourself with the .NET libraries. The IDE actually can be an enormous help here.

                  以下是我在进行过渡时发现的三个最大差异:

                  Here are the three biggest differences I found making the transition:

                  1. ASP.NET 服务器控件 - 在 ColdFusion 中,您确实拥有漂亮的直接控制 HTML;你与页面密切合作.情况并非如此ASP.NET.服务器控件是旨在减轻你的很多乏味,但可能要付出一些代价直接控制.作为一名CF程序员,我对得到的东西很挑剔实际输出到浏览器;和起初 ASP.NET 让我很沮丧因为它会吐出很多额外的东西代码.尽管如此,控件仍然是真的很强大,而且值得熟悉他们.表单和验证控件,尤其是,让你免于很多CF中处理帖子的乏味返回和验证.W3学校实际上有一个不错的 网络列表服务器控件.
                  2. 页面模型 - ColdFusion 在页面方面是相当不可知的流动.ASP.NET 非常适合倾向于使用后背,并且是非常事件驱动.如果你不是使用带有 CF 的框架(例如模型胶),这可能是陌生的你..NET 负责处理很多回发行为你.还有,不是说ColdFusion 不能成为对象并且良好使用驱动的功能CFC 的,但 ASP.NET 确实试图将您推向 OO 路径比较以我的经验为 CF.
                  3. 数据库访问 - 使用 ASP.NET 真的让我很感激强大的cfquery 真的是.这csharp-station网站也有不错的使用本机的教程.NET 数据库工具.我没有工作足够的项目尚未开始寻找用于数据库访问扩展;我是很确定杰夫推荐他们用来做的东西建立这个网站,所以你可以检查出.不然我真的建议你熟悉一下与 DataSet 对象.它是有点类似于查询对象在 CF 中,并让您运行查询查询等...循环CF 中的查询很常见,但它几乎没有发生ASP.NET 因为数据绑定.
                  1. ASP.NET Server Controls - In ColdFusion, you really have pretty direct control over the HTML; you work very closely with the page. This isn't so much the case in ASP.NET. The server controls are meant to relieve you of a lot of the tedium, but at a cost of maybe some direct control. As a CF programmer, I'm very particular about what gets actually output to the browser; and at first ASP.NET frustrated me because it spits out a lot of extra code. Still, the controls are really powerful, and it pays to familiarize yourself with them. Form and validation controls, especially, save you from a lot of the tedium in CF of handling post back and validation. W3Schools actually has a decent list of web server controls.
                  2. The page model - ColdFusion is pretty agnostic in terms of page flow. ASP.NET is very much geared towards using post backs, and is very event driven. If you're not using a framework with CF (e.g. Model Glue), this may be foreign to you. .NET takes care of handling a lot of the post back behavior for you. Also, not to say that ColdFusion can't be object and function driven by good use of CFC's, but ASP.NET really tries to push you down the OO path compared to CF in my experience.
                  3. Database access - Using ASP.NET really made me appreciate how powerful cfquery really is. The csharp-station site also has a good tutorial on working with the native .NET db tools. I haven't worked on enough projects yet to start looking around for DB access extensions; I'm pretty sure Jeff recommended something that they used for building this site, so you might check that out. Otherwise, I really suggest you familiarize yourself with the DataSet object. It's somewhat similar to a query object in CF, and lets you run query of queries, etc... Looping over queries in CF is very common, but it doesn't happen nearly as much in ASP.NET because of data binding.

                  这篇关于作为 ColdFusion 开发人员,您应该如何学习 ASP.NET?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!

                  上一篇:ColdFusion 中静态方法的等价物是什么? 下一篇:C# .NET Compact Framework,自定义 UserControl,焦点问题

                  相关文章

                  最新文章

                  <legend id='fLK6Z'><style id='fLK6Z'><dir id='fLK6Z'><q id='fLK6Z'></q></dir></style></legend>

                    <bdo id='fLK6Z'></bdo><ul id='fLK6Z'></ul>
                • <i id='fLK6Z'><tr id='fLK6Z'><dt id='fLK6Z'><q id='fLK6Z'><span id='fLK6Z'><b id='fLK6Z'><form id='fLK6Z'><ins id='fLK6Z'></ins><ul id='fLK6Z'></ul><sub id='fLK6Z'></sub></form><legend id='fLK6Z'></legend><bdo id='fLK6Z'><pre id='fLK6Z'><center id='fLK6Z'></center></pre></bdo></b><th id='fLK6Z'></th></span></q></dt></tr></i><div id='fLK6Z'><tfoot id='fLK6Z'></tfoot><dl id='fLK6Z'><fieldset id='fLK6Z'></fieldset></dl></div>
                • <tfoot id='fLK6Z'></tfoot>

                    1. <small id='fLK6Z'></small><noframes id='fLK6Z'>