CODE Magazine / Articles

ASP.NET MVC

Articles filed under ASP.NET MVC

Articles

Showing 1–61 of 61

  1. CODE Magazine: 2021 - September/October cover

    Enhance Your MVC Applications Using JavaScript and jQuery: Part 1

    Paul kicks off his new series with improving the user’s experience by making his MVC application run more smoothly using JavaScript and jQuery, along with a spinner from Font Awesome and Bootstrap events.

  2. CODE Magazine: 2021 - March/April cover

    Using Ajax and REST APIs in.NET 5

    In this article, create a .NET 5 Web server to service Web API calls coming from any Ajax front-end. You also learn to create an MVC Web application and a Node server to serve up Web pages from which you make Ajax calls to the .NET 5 Web server.

  3. CODE Magazine: 2021 - January/February cover

    Building Multi-Tenant Applications Using ASP.NET 5

    This overview of multi-tenant architecture describes the challenges and solutions to using them. Ultimately, multi-tenant gets cheaper over time. Follow along to implement a multi-tenant application in ASP.NET 5

  4. CODE Focus Magazine: 2020 - Vol. 17 - Issue 1 - .NET 5.0 cover

    From .NET Standard to .NET 5

    Microsoft's release of .NET 5 will be a shared code base for .NET Core, Mono, Xamarin, and future .NET implementations. So which target framework names (TFMs) should you use? This article explains when you should target .NET Standard 2.0 or when you should go straight to .NET 5.

  5. CODE Magazine: 2020 - September/October cover

    A Deep Dive into ASP.NET Core Localization

    Joydip shows you how to build multilingual applications in ASP.NET Core using Visual Studio 2019 to enable a broader reach for your applications.

  6. CODE Magazine: 2020 - September/October cover

    When Open Source Came to Microsoft

    In "When Open Source Came to Microsoft," Richard Campbell traces Microsoft's transformation from a proprietary software giant to a leading open-source contributor. He highlights key milestones, including early shared source efforts, the rise of .NET and ASP.NET MVC, and the pivotal shift under CEO Satya Nadella in 2014 embracing true open-source principles with projects like .NET Core and Roslyn on GitHub. Campbell emphasizes how Microsoft evolved by adopting community collaboration, contributing to and integrating open-source technologies, and reshaping its business and culture to thrive in a cloud-centric, open-source-driven software landscape.

  7. CODE Magazine: 2020 - July/August cover

    Use the MVVM Design Pattern in MVC Core: Part 2

    In a MVC Core application using an MVVM design pattern, learn to sort data when a user clicks on a column header in an HTML table. Learn to add a pager to limit the number of rows displayed on a page. Learn to cache data in the Session object to improve performance.

  8. CODE Magazine: 2020 - May/June cover

    Discovering AWS for .NET Developers

    Learn a bit about how Amazon Web Services (AWS) supports .NET platforms including hosting ASP.NET Core apps.

  9. CODE Magazine: 2020 - May/June cover

    Use the MVVM Design Pattern in MVC Core: Part 1

    Learn to use the Model-View-View-Model (MVVM) design pattern, long used in WPF applications, in MVC Core applications. Using MVVM in MVC makes your applications even more reusable, testable, and maintainable.

  10. CODE Focus Magazine: 2019 - Vol. 16 - Issue 1 - .NET Core 3.0 cover

    What’s New in ASP.NET Core 3.0

    Get ready for an exciting list (and examples) as Shawn explores the new tools in ASP.NET Core 3.0.

  11. CODE Magazine: 2019 - September/October cover

    Intro to GraphQL for .NET Developers: Schema, Resolver, and Query Language

    Peter introduces you to GraphQL so your REST API client list can grow and change without a lot of pain. You can use strongly typed schema, eliminated over- and under-fetching, and you can get analytics about how clients are really using your API.

  12. CODE Magazine: 2018 - November/December cover

    Marking up the Web with ASP.NET Core and Markdown

    You’re probably already using Markdown for HTML text entry and formatting your README.md files. But Markdown is good for so much more—Rick shows you parsing, stable content in a website, embedding converted HTML into a Razor output, and more.

  13. CODE Magazine: 2018 - March/April cover

    Eliminate HTML Tables for Better Mobile Web Apps

    At this point, you’re clear that your app has to work on all platforms, especially on smartphones. Paul gets tables to adjust their sizes based on which platform is being used to view it.

  14. CODE Magazine: 2018 - March/April cover

    Ready for Prime Time: .NET Core 2.0 and ASP.NET Core 2.0 Have Arrived

    Rick explores the new features in .NET Core and ASP.NET Core and shows you that the wait was worth it.

  15. CODE Magazine: 2018 - March/April cover

    What’s New in ASP.NET Core 2.1

    Daniel takes you on a tour of the new features in the new release of ASP.NET. He thinks you’ll find it exciting, especially regarding its SignalR capabilities.

  16. CODE Magazine: 2017 - November/December cover

    Logging in Angular Applications

    Continuing his series on Angular, Paul looks at logging as a reporting tool for debugging, warnings, errors, and other types of messages, as well as calling classes to log to the console, local storage, and Web API.

  17. CODE Magazine: 2017 - March/April cover

    Programming Alexa Skills for the Amazon Echo

    If you’re looking for a way to computerize your home or add voice controls to your apps, you’re interested in what’s happening with Amazon Echo. Chris introduces you to some basic programming skills for the device and points the way to greatness.

  18. CODE Magazine: 2017 - January/February cover

    Getting Down to Business Building an ASP.NET Core API Service

    Building an API-based app doesn’t have to be daunting. Rick shows you how to use Angular 2.0 to build a small app that breaks out business logic, uses a repository class to consolidate data access code, and deals with complex relationships and data updates.

  19. CODE Magazine: 2016 - September/October cover

    Getting to the ASP.NET Core

    New releases ASP.NET Core and .NET Core have come up with some interesting high-level architecture that you’ll want to read about. You’ll definitely want to play with these tools after Rick shows you some cool new tricks.

  20. CODE Magazine: 2016 - May/June cover

    Integrating ASP.NET MVC and Angular JS

    Miguel looks at organizing styles and integrating technologies to make one spiffy new kind of app with multi-SPA layers, and you don’t have to throw away your Microsoft experience to do it.

  21. CODE Magazine: 2016 - March/April cover

    Handling Exceptions Returned from the Web API

    Learn how to use the IHttpActionResult methods in the .NET Controller class to deal with exceptions when Paul explores the messages that no one likes to receive.

  22. CODE Magazine: 2016 - January/February cover

    CRUD in HTML, JavaScript, and jQuery Using the Web API

    In this second installment of his new series on working within HTML and the Web API, Paul looks at the four standard HTTP verbs GET, POST, PUT, and DELETE. By creating a product information page with mock data, you’ll get a good idea of the power of these tools.

  23. CODE Magazine: 2015 - November/December cover

    Telerik Kendo UI Outside the Box

    Bilal takes us on a tour of Telerik’s Kendo UI and its great number of widgets that facilitate your Web or mobile app development process. There’s no need for multiple libraries anymore!

  24. CODE Magazine: 2015 - January/February cover

    A First Look at ASP.NET vNext

    In this article, Rick plays with the beta version of ASP.NET vNext. You’ll get to see what’s (probably) coming so you can start making plans.

  25. CODE Magazine: 2015 - January/February cover

    ASP.NET vNext: The Next Generation

    ASP.NET has been Microsoft’s hallmark product for more than a dozen years. In vNext, it’s getting more readily adaptable to the way users—especially mobile users—interact with their data, and Rick shows us how to take advantage of these radical changes.

  26. CODE Magazine: 2015 - January/February cover

    What ASP.NET 5 Means to a Technical Manager

    Dino explores the new ASP.NET features and takes a close look at the ways it might benefit you to upgrade (or not).

  27. CODE Magazine: 2014 - May/June cover

    10 Good Practices for ASP.NET MVC Apps

    Dino talks about the best possible layout for your project in MVC 5, and gives some great tips for helping you keep it all organized and effi cient.

  28. CODE Magazine: 2013 - November/December cover

    Planning Web Solutions Today: Web Forms, ASP.NET MVC, Web API, and OWIN. Oh My!

    Be aware that this is not going to be a classic how-to article that delves more or less deeply into some technical issue or feature. It is, instead, an article that aims at providing an overview of the options you have at present for architecting Web solutions.

  29. CODE Magazine: 2013 - November/December cover

    Rendering ASP.NET MVC Razor Views to String

    The Razor View Engine (usually used in ASP.NET MVC to render HTML views) is useful beyond standard ASP.NET MVC scenarios. In this article, Rick shows how it is done and why it is useful.

  30. CODE Magazine: 2013 - July/August cover

    Mobile Development with Single-Page Applications Using KendoUI

    When considering mobile development, you have a variety of techniques to choose from. In many cases, reactive rendering (using CSS media queries) provides a good solution. Additional mobile customization can be achieved by using ASP.NET MVC4 device detection/customization to provide adaptive rendering. Both of these techniques follow the traditional Web development pattern where each page is focused on a specific task. In an application managing a list, there is a page devoted to the list of items, a second page to view details, and perhaps a third to edit a specific item.

  31. CODE Magazine: 2012 - November/December cover

    What’s New in ASP.NET 4.5 and Visual Studio 2012

    Microsoft has added an abundance of new features and functionality to ASP.NET 4.5 and Visual Studio 2012. This article provides an overview of many of those new features and enhancements ranging from improved editors for HTML, CSS and JavaScript all the way through to publishing your work to the web.

  32. CODE Magazine: 2012 - September/October cover

    Building ASP.NET Single Page Applications in HTML 5 with Upshot

    A Single Page Application (SPA) is a different way of building HTML 5 applications from traditional Web page development. Instead of spreading the functionality of your Web applications across a collection of separate Web pages with hyperlinks between them, you instead define a single root page that the user lands on and never leaves as long as they are working with your application. You define client-side logic that switches out the data and chunks of content within that page to allow the user to navigate from logical screen to logical screen without ever leaving the page. This means that the user never sees a full page refresh while using your application. They see portions of the screen change based on their interaction, and those changes can be done in a more fluid way with transitions to enhance the user experience. You can also support using the application while offline by storing data client-side, based on some of the newer APIs of HTML 5. Taking this approach makes an SPA feel very much like a desktop application to the end user.

  33. CODE Magazine: 2012 - May/June cover

    An Introduction to ASP.NET Web API

    Microsoft recently released the ASP.NET MVC 4.0 beta and along with it, the brand spanking new ASP.NET Web API. Web API is an exciting new addition to the ASP.NET stack that provides a new, well-designed HTTP framework for creating REST and AJAX APIs (API is Microsoft’s new jargon for a service, in case you’re wondering). Although Web API currently ships and installs with ASP.NET MVC 4, you can use Web API functionality in any ASP.NET project, including WebForms, WebPages and MVC or none of the above. You can also self-host Web API in your own applications.

  34. CODE Magazine: 2012 - May/June cover

    The Times they are A-changin!

  35. CODE Magazine: 2011 - July/August cover

    Entity Framework 4.1: Code First

    The Entity Framework team at Microsoft has been making several improvements since the launch of v4 with Visual Studio. The biggest of these is the capability to use a Code First or Code Only development model. Previously, if you wanted to work with the Entity Framework, you had to use either a Database First or Model First development model.

  36. CODE Magazine: 2011 - May/June cover

    Creating Wijmo: The New JavaScript Library in Town

    Wijmo contains over 30 widgets built on jQuery and jQuery UI that can help you build a better Web.

  37. CODE Magazine: 2011 - May/June cover

    Post Mortem: Developing the OSS Project AutoMapper

    Jimmy explores what went right and what went wrong with version 1.0 of AutoMapper.

  38. CODE Magazine: 2011 - March/April cover

    Leveraging Razor Templates Outside of ASP.NET: They’re Not Just for HTML Anymore!

    The Razor syntax is much more than just a clean way to write ASP.NET MVC Views and WebMatrix web pages. In fact, with a working knowledge of the Razor API, you can leverage Razor templates in any application. The Razor API exposes a powerful library for parsing, compiling, and executing templates created using the Razor syntax.

  39. CODE Magazine: 2011 - March/April cover

    The Razor View Engine

    The new view engine for ASP.NET MVC and WebMatrix combines simplicity and functionality to facilitate clean view development. In this article, I’ll dive into the Razor View Engine, the new default view engine for the ASP.NET MVC framework and WebMatrix products. Razor’s main goal is to simplify view development and to improve developer productivity while providing a clean view infrastructure.

  40. CODE Magazine: 2010 - November/December cover

    Highlights of ASP.NET MVC 3

    As developers are just getting used to ASP.NET MVC 2 and Visual Studio 2010, Microsoft has already planned and released a preview of the next version of ASP.NET. What started out as “just another option” for ASP.NET developers has become the programming style of choice for developers writing .NET applications for the web.

  41. CODE Magazine: 2010 - September/October cover

    ASP.NET MVC and the ADO.NET Entity Framework

    Both ASP.NET MVC and the ADO.NET Entity Framework are both very popular topics right now in the developer community.Having spoken at various user group meeting and code camps it is very obvious to me what topics a lot of developers are interested in. I see that sessions about ASP.NET MVC or the Entity Framework are always packed with developers eager for more information. The focus of this article is the Entity Framework, but in the context of an ASP.NET MVC application. As such, I am assuming at least basic understanding of ASP.NET MVC but little-to-none with Entity Framework.

  42. CODE Magazine: 2010 - March/April cover

    ASP.NET MVC and the Spark View Engine

    Getting friendly with HTML in ASP.NET MVC just got a whole lot easier.In this article, I’ll delve into the Spark View Engine, an alternate view engine for the ASP.NET MVC Framework. Spark’s main goal is to allow HTML to dominate the flow of view development while allowing code to fit in seamlessly.

  43. CODE Magazine: 2010 - March/April cover

    Supercharging ASP.NET MVC with MvcContrib

    Hot on the heels of the groundbreaking release of ASP.NET MVC CTP 1 in December of 2007, an open source project called MvcContrib came to life.MvcContrib has enjoyed tens of thousands of downloads since it started in December of 2007. In this article, I will explain MvcContrib; it’s major components, how to use it, and how to get involved in its continued development.

  44. CODE Magazine: 2010 - January/February cover

    Ask the Doc Detective

    In "Ask the Doc Detective," Doc Detective addresses common developer questions about navigating and utilizing Microsoft Visual Studio documentation and features. He clarifies new technologies like ASP.NET MVC, SharePoint Business Data Connectivity, and improvements in WPF data binding, while offering practical guidance on customizing Visual Studio’s Start page. Throughout, Doc emphasizes the enhanced tools and resources available in Visual Studio 2010, aiming to simplify developers’ workflows and improve their ability to find and apply relevant information effectively.

  45. CODE Magazine: 2009 - November/December cover

    ASP.NET MVC 2 in Action

    Hot on the heels of the groundbreaking release of ASP.NET MVC 1.0, the ASP.NET MVC team at Microsoft has already released the first Community Technology Preview (CTP) of version 2.I have already predicted that Microsoft’s MVC Framework will become the new way to develop Web applications on top of ASP.NET. In this article, I will give a first look at the plans for version 2 and some of the features that already work in the first CTP.

  46. CODE Magazine: 2009 - November/December cover

    Easy Validation in ASP.NET MVC with the Enterprise Library Validation Application Block

    The recently-released ASP.NET MVC Framework is a refreshing new way to develop your .NET Web applications.The framework is an implementation of the time-tested Model-View-Controller architectural pattern, and includes plenty of powerful paradigms allowing you to quickly build maintainable applications. Likewise, the Enterprise Library Validation Application Block implements a proven set of best practices that allow you to stop worrying about how to execute validation logic and begin immediately delivering real business value. In this article, you’ll discover just how well these two frameworks work together through powerful examples of this natural pairing in action.

  47. CODE Magazine: 2009 - July/August cover

    Implementing OpenID Authentication in an ASP.NET Application

    Today, more and more websites need to identify who their users are. However, in most cases this involves providing authentication, which requires storing the users handle and password. An alternative to this is to allow a third party to authenticate the user and provide your website with the identity. This absolves you from needless worries of securing the authentication information. An emerging standard for identification is OpenID (http://www.openid.net). OpenID is a shared identity service, allowing users to log into many Internet sites using a single digital identity. This article will explore how to extend the ASP.NET provider model to accept a user’s OpenID.

  48. CODE Magazine: 2009 - May/June cover

    Using jQuery with ASP.NET Part 2: Making an AJAX Callback to ASP.NET

    This time around I’ll expand on these concepts and show you how you can use jQuery in combination with ASP.NET as an AJAX backend to retrieve data. I’ll also discuss how you can create ASP.NET controls and otherwise interact with jQuery content from ASP.NET pages in Web Forms.

  49. CODE Magazine: 2008 - January/February cover

    MVP Corner: Use the ASP.NET MVC Framework to Write Web Apps without Viewstate or Postbacks

    Jan/Feb 08 MVP Corner Article

  50. ASP.NET 4 Unleashed - Chapter 1 -Overview of the ASP.NET Framework

    This excerpt is from the book, ‘ASP.NET 4 Unleashed, authored by Stephen Walther, Kevin Hoffman, Nate Dudek, Published Oct 14, 2010 by Sams. Part of the Unleashed series. ISBN 0672335522, Copyright 2011. For more info, please visit the publisher site http://www.informit.com/store/product.aspx?isbn= 0672331128.

  51. ASP.NET MVC 4 Mobile Websites Succinctly - Chapter 3 - Designing Mobile-Friendly Websites

    ASP.NET MVC 4 Mobile Websites Succinctly </i>by Lyle Luppes is a concise guide to creating a website aimed at mobile but also serving desktops-from just one code base. Luppes extols the virtues of .NET’s ASP.NET MVC framework, offering it up as the perfect solution for cross-platform website development. The following excerpt from his book discusses design. This book is part the <i>Succinctly </i>series and can be downloaded for free from Syncfusion’s Technology Portal.

  52. ASP.NET MVC Framework Unleashed: Chapter 1 - An Introduction to ASP.NET MVC

    This excerpt is from the book, ‘ASP.NET MVC Framework Unleashed, authored by Stephen Walther, Published Jul 14, 2009 by Sams. Part of the Unleashed series. ISBN 0-672-32998-0, Copyright 2010. For more info, please visit the publisher site http://www.informit.com/store/product.aspx?isbn=0672329980.

  53. Chapter 1: An Introduction to ASP.NET MVC

    An introduction to the Microsoft ASP.NET MVC framework and learn why you should build web applications using ASP.NET MVC.

  54. Chapter 1: RESTful Systems - Back to the Future

    Developers are rapidly discovering the power of REST to simplify the development of even the most sophisticated Web services—and today's .NET platform is packed with tools for effective REST development. Now, for the first time, there's a complete, practical guide to building REST-based services with .NET development technologies.

  55. Hour 1 - Getting Started with ASP.NET 4

    Scott Mitchell introduces you to ASP.NET, shows you how to install Visual Web Developer, along with the .NET Framework and SQL Server 2008, and helps you create your first ASP.NET page.

  56. Programming Microsoft ASP.NET MVC - CHAPTER 1- ASP.NET MVC Controllers

    They always say time changes things, but you actually have to change them yourself. -Andy Warhol</i>

  57. Red Gate: Why is Your ASP.NET Application Running Slow?

    Sponsored article from Red Gate. Diagnose and speed up your apps!

  58. Ultra-Fast ASP.NET: Chapter 3 - Caching

    Caching is an important cornerstone of high-performance web sites. You can use it to accomplish the following: Reduce round-trips: Content cached at the client or in proxies can eliminate web server round-trips. Content cached at the web server can eliminate database round-trips. Move content closer to clients: The farther away from clients content is located, the longer it takes to retrieve. Avoid time-consuming processes of regenerating reusable content: For content that takes a lot of time or resources to generate, system performance and scalability are improved if you can generate content once and then reuse it many times. Optimize state management: Caching state information at the client is more scalable than storing it in a central location (within certain bounds, as discussed later).

  59. What’s New in ASP.NET 4.0, Part One: Core Engine Features

    Microsoft released the .NET Runtime 4.0 and with it comes a brand spanking new version of ASP.NET - version 4.0 - which provides an incremental set of improvements to an already powerful platform. .NET 4.0 is a full release of the .NET Framework, unlike version 3.5, which was merely a set of library updates on top of the .NET Framework version 2.0. Because of this full framework revision, there has been a welcome bit of consolidation of assemblies and configuration settings. The full runtime version change to 4.0 also means that you have to explicitly pick version 4.0 of the runtime when you create a new Application Pool in IIS, unlike .NET 3.5, which actually requires version 2.0 of the runtime.

  60. CODE Magazine: 2006 - March/April cover

    Using the Ajax.NET Framework

    What developer wants to spend hours manually writing Ajax pluming when the Ajax.NET framework does this for free? The Ajax.NET Framework presents a remarkably easy-to-use framework that will simplify Ajax development and allow developers to spend more time on implementation details and less time on parsing XML.

  61. CODE Magazine: 2005 - March/April cover

    By the Skin of Your App

    Enable advanced skinning in your Web applications using an MVC pattern.MVC, or Model-View-Controller, is a design architecture that promotes separation among parts of an application, with particular focus on the presentation tier. The concept of MVC is inherent in the ASP.NET architecture and I'll show you how to take advantage of that in order to provide skinning or themes capability to your Web sites.