I was trying to get a global .NET Core tool working on my development machine, which just so happens to be running macOS. I also work wit....NET macOS
We’ve moved around CSS frameworks in the past few years, Semantic UI for our application layer, and Bootstrap for our static sites. As ou...SASS
New to the frontend at RIMdev, or looking for more about our Frontend team? Here’s a quick overview of our team, tools, and culture! As ...Team RIMdev Frontend
We’re in the process of scaffolding out our Microsoft Azure environments using Terraform. We’re looking at deploying consistently from ma...Azure Terraform
Requirement ASP.NET Core 2.2 or 3.0 Why can’t I do this in earlier versions? Read ASP.NET Core 2.2 First Look – Endpoint Routing ...ASP.NET Core Routing Middleware
Health checks in ASP.NET Core are useful for reporting the health of your ASP.NET Core web application. But, this functionality can’t dir....NET
As I’ve walked through upgrading a number of solutions to target a new version of the .NET Framework, I’ve compiled a list of helpful ste....NET
What is WSL? Windows Subsytsem for Linux (aka WSL) is an excellent tool for running Linux-based binaries natively in Windows. With the i...WSL git ASP.NET MVC
Updated Solution! Thanks for the post!If you don't want to create a web.config, you can also drive this through the <AspNetCoreHo...asp.net asp.net core
I, Khalid Abuhakmeh, recently wrote about my [Razor Pages first impressions][khalid] and am mostly positive about the addition to the ASP...asp.net asp.net core razor
We’re in the process of scaffolding out our Microsoft Azure environments using Terraform. While Terraform does an excellent job creating ...Terraform OSS
TL;DR Explicitly using SqlBulkCopy might never cause this problem since mapping is done manually, but NPoco’s usage does automatic map...NPoco SqlBulkCopy
As you’re building out an API it’s important to keep response times in check. In many cases slowness is due to database calls, web reques...Benchmarking OSS
We’ve accomplished so much this year thanks to @VueJS that we wanted to give back to the Vue community in some way. Ritter IM is sponsor...VueJS
In the whirlwind that is modern web development, I thought it would be a great idea to revisit one of the fundamental parts that make the web work: HTML Forms.
form tag allows developers to pass user data from the client browser to the server. An HTML form has many attributes, which when utilized correctly can make the life of a developer easier. I will focus on the attributes you may likely use.
action: defines where the form is sending the information.
method: The method could be
target: Where should the response be made visible. Options include
name: Name of the form sent to the server.
**Developer’s forget that the FORM tag supports both
GET more for search forms and you’ll get the benefit of history for free!
There are many inputs in HTML and using them effectively is up to you (and your frontend team). The most important thing to remember is this.
Remember to set the
name on the input field, and the field is not disabled.
With these attributes set, you can now pass information to the server.
<input type='text' name='PhoneNumber' />
name attribute is the key used in the request to the server application. If it is not specified, the server will not receive your value.
Buttons are recognized as inputs. That means they can have similar attributes as an input tag.
<button type="submit" name="ThisButton" value="Yes" />
These values are sent to the server and can be used to determine which button was pressed by the user and if that button possesses a value.
It is easy to get caught up with the modern web-dev stack. Remembering that most of the web operates on simple HTML forms and leveraging forms properly can make a seemingly complicated task relatively simple. At risk of sounding like a broken record: “Use the right tool for the job” and HTML Forms frequently are the right tool.