Shawn  Durgan

Shawn Durgan

1603630740

.NET Tooling Community Standup - dotnet templates with Sayed Hashimi

You can now use templates in Visual Studio that were installed through the dotnet cli. This opens even more opportunities for 3rd party template authors to integrate with tooling. This is currently a preview feature that must be enabled.

#.net

What is GEEK

Buddha Community

.NET Tooling Community Standup - dotnet templates with Sayed Hashimi
Einar  Hintz

Einar Hintz

1602560783

jQuery Ajax CRUD in ASP.NET Core MVC with Modal Popup

In this article, we’ll discuss how to use jQuery Ajax for ASP.NET Core MVC CRUD Operations using Bootstrap Modal. With jQuery Ajax, we can make HTTP request to controller action methods without reloading the entire page, like a single page application.

To demonstrate CRUD operations – insert, update, delete and retrieve, the project will be dealing with details of a normal bank transaction. GitHub repository for this demo project : https://bit.ly/33KTJAu.

Sub-topics discussed :

  • Form design for insert and update operation.
  • Display forms in modal popup dialog.
  • Form post using jQuery Ajax.
  • Implement MVC CRUD operations with jQuery Ajax.
  • Loading spinner in .NET Core MVC.
  • Prevent direct access to MVC action method.

Create ASP.NET Core MVC Project

In Visual Studio 2019, Go to File > New > Project (Ctrl + Shift + N).

From new project window, Select Asp.Net Core Web Application_._

Image showing how to create ASP.NET Core Web API project in Visual Studio.

Once you provide the project name and location. Select Web Application(Model-View-Controller) and uncheck HTTPS Configuration. Above steps will create a brand new ASP.NET Core MVC project.

Showing project template selection for .NET Core MVC.

Setup a Database

Let’s create a database for this application using Entity Framework Core. For that we’ve to install corresponding NuGet Packages. Right click on project from solution explorer, select Manage NuGet Packages_,_ From browse tab, install following 3 packages.

Showing list of NuGet Packages for Entity Framework Core

Now let’s define DB model class file – /Models/TransactionModel.cs.

public class TransactionModel
{
    [Key]
    public int TransactionId { get; set; }

    [Column(TypeName ="nvarchar(12)")]
    [DisplayName("Account Number")]
    [Required(ErrorMessage ="This Field is required.")]
    [MaxLength(12,ErrorMessage ="Maximum 12 characters only")]
    public string AccountNumber { get; set; }

    [Column(TypeName ="nvarchar(100)")]
    [DisplayName("Beneficiary Name")]
    [Required(ErrorMessage = "This Field is required.")]
    public string BeneficiaryName { get; set; }

    [Column(TypeName ="nvarchar(100)")]
    [DisplayName("Bank Name")]
    [Required(ErrorMessage = "This Field is required.")]
    public string BankName { get; set; }

    [Column(TypeName ="nvarchar(11)")]
    [DisplayName("SWIFT Code")]
    [Required(ErrorMessage = "This Field is required.")]
    [MaxLength(11)]
    public string SWIFTCode { get; set; }

    [DisplayName("Amount")]
    [Required(ErrorMessage = "This Field is required.")]
    public int Amount { get; set; }

    [DisplayFormat(DataFormatString = "{0:MM/dd/yyyy}")]
    public DateTime Date { get; set; }
}

C#Copy

Here we’ve defined model properties for the transaction with proper validation. Now let’s define  DbContextclass for EF Core.

#asp.net core article #asp.net core #add loading spinner in asp.net core #asp.net core crud without reloading #asp.net core jquery ajax form #asp.net core modal dialog #asp.net core mvc crud using jquery ajax #asp.net core mvc with jquery and ajax #asp.net core popup window #bootstrap modal popup in asp.net core mvc. bootstrap modal popup in asp.net core #delete and viewall in asp.net core #jquery ajax - insert #jquery ajax form post #modal popup dialog in asp.net core #no direct access action method #update #validation in modal popup

Eric  Bukenya

Eric Bukenya

1618666860

.NET Conf 2020 Demos & Sessions for .NET 5 + Virtual Events!

This year’s .NET Conf was the largest one yet, with over 80 live sessions across three days that were co-organized and presented by the .NET community and Microsoft. On top of all of that, it also marked the release of .NET 5.0  that brings a full set of new capabilities, performance gains, and new languages features for developers to create amazing apps. If you missed this year’s .NET Conf live stream, don’t worry because we have you covered!

#.net #.net core #asp.net #c# #.net conf #.net foundation #community #demos

Obie  Stracke

Obie Stracke

1621195260

Top .NET Tools For Developer To Build Astonishing Web Applications

Their many Top .NET tools in the market, but choosing the right one will always put profit in your pocket so, As a developer, you should know these Top .net developer tools. As .Net is an open-source technology, the Framework and tools are used by millions of software developers so, selecting something different in a way that saves cost and time will make you more progressive.

So, let’s start with essential .Net developer tools that we are going to use for more productive work. There are many tools, but in this article, I have narrowed down the list and consider which are helpful in our daily life.

#dot-net-tools #dot-net-developers #dotnet #net-development-company #net-development

Zak Dyer

Zak Dyer

1602661224

.NET Tooling Community Standup - dotnet templates with Sayed Hashimi

You can now use templates in Visual Studio that were installed through the dotnet cli. This opens even more opportunities for 3rd party template authors to integrate with tooling. This is currently a preview feature that must be enabled.

Community Links: https://www.theurlist.com/dotnet-community-standup-tooling-10-22-2020

Featuring: Sayed Hashimi (@sayedihashimi), Cody Beyer (@cl_beyer), Jordan Matthiesen (@JMatthiesen)

#dotnet #vscode #programming #developer

Justice  Reilly

Justice Reilly

1594205220

ASP.NET Community Standup - July 7, 2020 - FAST Framework

Join members from the ASP.NET teams for our community standup covering great community contributions for ASP.NET, ASP.NET Core, and more. Community links for

#asp.net #community #standup #fast #framework #.net