Nizamuddin Siddiqui has Published 2307 Articles

How to find monthly sales using date variable in R?

Nizamuddin Siddiqui

Nizamuddin Siddiqui

Updated on 21-Aug-2020 06:05:05

349 Views

Sales analysis requires to find monthly sales mean, total, range, and often standard deviation. This is mostly required by FMCG (Fast-Moving Consumer Goods) companies because they want to track their sales on daily basis as well as monthly basis. If we have daily sales data then we need to create ... Read More

How to add a month to a date in R?

Nizamuddin Siddiqui

Nizamuddin Siddiqui

Updated on 21-Aug-2020 05:49:26

545 Views

We have to deal with date data in time series analysis, also sometimes we have a time variable in data set that is recorded to perform another type of analysis. Depending on our objective, we need to process the data and the time variable is also converted into appropriate form ... Read More

How to create a vector with zero values in R?

Nizamuddin Siddiqui

Nizamuddin Siddiqui

Updated on 20-Aug-2020 05:49:42

412 Views

In data analysis, sometimes we need to use zeros for certain calculations, either to nullify the effect of a variable or for some other purpose based on the objective of the analysis. To deal with such type of situations, we need a zero value or a vector of zeros. There ... Read More

What is parameter binding in C# ASP.NET WebAPI?

Nizamuddin Siddiqui

Nizamuddin Siddiqui

Updated on 19-Aug-2020 14:21:24

1K+ Views

Binding is a process to set values for the parameters when Web API calls a controller action method.Web API methods with the different types of the parameters and how to customize the binding process.If the parameter is a simple type like int, bool, double, etc., Web API tries to get ... Read More

How to configure C# ASP.NET WebAPI in web.configure file?

Nizamuddin Siddiqui

Nizamuddin Siddiqui

Updated on 19-Aug-2020 14:20:18

1K+ Views

No we cannot configure WEB API in web.configure file.Web API supports code based configuration. It cannot be configured in web.config file.We can configure WEB API, to customize the behaviour of Web Api hosting Infrastructure and component such asRoutesFormattersFiltersDependency ResolverMessage HandlersParameterBindingRulesPropertiesServicesRoutes − The public methods of the controller are called action ... Read More

What are the advantages of using C# ASP.NET WebAPI?

Nizamuddin Siddiqui

Nizamuddin Siddiqui

Updated on 19-Aug-2020 14:15:49

2K+ Views

WEB API is a better choice for simpler, light weight services. WEB API can use any text format including XML and is faster than WCF.It works the way HTTP works using standard HTTP verbs like GET, POST, PUT, DELETE for all the crud operation.Complete Support for routingResponse generated in Json ... Read More

What are Async Streams in C# 8.0?

Nizamuddin Siddiqui

Nizamuddin Siddiqui

Updated on 19-Aug-2020 14:14:19

157 Views

C# 8.0 introduces async streams, which model a streaming source of data. Data streams often retrieve or generate elements asynchronously.The code that generates the sequence can now use yield return to return elements in a method that was declared with the async modifier.We can consume an async stream using an ... Read More

How to use indexers in C# 8.0?

Nizamuddin Siddiqui

Nizamuddin Siddiqui

Updated on 19-Aug-2020 14:11:26

68 Views

^ Operator − It is known as the index from the end operator.It returns an index that is relative to the end of the sequence or collection.It is the most compact and easiest way to find the end elements compare to earlier methods.company.listEmployees[^2].Name = "Employee 2 Name Changed using new ... Read More

How to write the new Switch Expression in C# 8.0?

Nizamuddin Siddiqui

Nizamuddin Siddiqui

Updated on 19-Aug-2020 14:08:02

1K+ Views

The switch expression provides for switch-like semantics in an expression contextswitch is a selection statement that chooses a single switch section to execute from a list of candidates based on a pattern match with the match expression.The switch statement is often used as an alternative to an if-else construct if ... Read More

What are Ref locals and Ref returns in C# 7.0?

Nizamuddin Siddiqui

Nizamuddin Siddiqui

Updated on 19-Aug-2020 14:05:34

541 Views

A reference return value allows a method to return a reference to a variable, rather than a value.The caller can then choose to treat the returned variable as if it were returned by value or by reference.The caller can create a new variable that is itself a reference to the ... Read More

Advertisements