Picture a scenario where you want to page a large dataset and your LINQ statement has several Include-calls. The first few pages load fai....NET SQL Server LINQ
Setting up a local server comes in many flavours today. My goto was the Apache vhost.conf/hosts combo, now to load something quickly - Gu...gulp
Hacktoberfest 2017 is upon us and now is a great opportunity to contribute to open source and the community as a whole. At RIMdev we’ve m...OSS
TL;DR Using ExecuteReader against SQL Server with a query using for xml or for json causes data to be chunked. A single call to ExecuteR....NET .NET Core 2.0 JSON XML SQL Server
At Ritter Insurance Marketing, we continue to invest heavily in Web APIs primarily built on top of ASP.NET Web API 2. To supplement our A...asp.net WebAPI REST
If you CSS, you’re familiar with the browser -prefix. Chrome and Safari have -webkit, -moz for Firefox/Mozilla, and -ms for Edge. As brow...css
We decided not to use Material Design (#reasons) while re-developing our core application suite, although i really miss MD’s micro-intera...UI Sass Semantic UI
Sometimes it’s useful to ensure a project works with multiple versions of runtimes. In the following example, multiple versions of Node.j...AppVeyor
Update October 17, 2017 This doesn’t work with environment deployments, as this needs to run after the deployment has completed. See htt...AppVeyor
https://xkcd.com/1597/ While I generally don’t do that, here’s what I currently do: Setting up a repository locally Using Stuntman as...GitHub
As a team empowered by .NET open source, we’ve always been sensitive to the people, projects, and conferences that make the .NET communit...conference oss team
Previously, I wrote about Publishing to npm Using AppVeyor. This is a similar post, but specifically geared toward publishing an npm pack...AppVeyor npm MyGet
Stuntman is an open source library we developed at RIMdev to make testing user scenarios easier during development time. There are times ...Windows Azure Azure Stuntman OSS
Typically, running a Jekyll site locally for the first time requires a basic knowledge of using the command line. It usually involves a f...jekyll
A picture is worth a thousand words, so I assume a diagram is worth a billion words. Expressing our ideas is important and our blog is an...Jekyll
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.