
Search In
Performance tuning of Asp.Net application can be a complex task because multiple components are involved. In the list below we will go through best practices to improve ASP.Net Web application performance.
1) We should disable ViewState if i
Irrespective of the technologies used like .Net,Java or PHP software versioning plays a critical role in software development. In this blog we will go through a set of best practices for successful implementation of version control in an organization
In C#, we use a method DateTime.ToString(string) to get the value of a DateTime in specific pattern of string.
Syntax:-
public string ToString( string format )
It accepts one parameter "format" which specifies the date an
Active records gives us different ways to retrieve single objects from it.
Those methods with examples are given below :
find
The find method allows us to retrieve a single object or we can say single record from the database by passing i
Finders should be very powerful to locate elements on the webpage. Capybara provides a wide range of finders to locate the elements:
find
find_field
find_link
find_button
find_by_id
find_labeled
Let's suppose we have the following HTML
Hii,
File Validator is a function used when we want to restrict the type of file uploaded.
Using File validator we can easily get file Info for each file uploaded.
If uploaded file is not as per the required format a validator function&nbs
One incredible thing about CSS is the capacity to make extraordinary searching plans for your sites and with CSS3 you can compose code that does not require javascript (as long as you have the latest web browsers!). This following example demonstrate
Suppose we want to add the content of different elements in a single element, we use append for that.
Below is the example which will append the text of an input into a div.
HTML-
<div class="aside_header" id="sentence_add
Variables in ruby Variables are used to hold any data which will be later used by programs. There are 5 types of variables in ruby
1.Ruby global variables
2.Ruby instance variables
3.Ruby class varibles
4.Ruby local variable
5.Ruby Constants
I
Accordian are used when we have to show/hide large amount of content, so it is expandable and collapsible. we can also add symbol to indicate whether collapsible content is open or closed
<!DOCTYPE html>
<html>
<head>
<style>
