a. – Abstract Factory
a. – Hashtable,
a. – Abstract Factory
a. – Hashtable,
Follow the below Steps:
1. Install Cygwin (https://cygwin.com/install.html), which gives you a unix like environment on windows. Don’t select any packages while installing it. Don’t delete the setup file, which will be required to install/uninstall packages. It get’s installed in C:\Cygwin or C:\Cygwin64. Copy the installer into this folder.
2. Install a set of Cygwin packages required for building GCC.
C:\cygwin64>setup-x86_64.exe -q -P wget -P gcc-g++ -P make -P diffutils -P libmpfr-devel -P libgmp-devel -P libmpc-devel
3. Install the latest GCC by downloading it and building from the source code. (At the time of writing this 7.2.0 was the latest verion.
$ wget http://infinity.kmeacollege.ac.in/gnu/gcc/gcc-7.2.0/gcc-7.2.0.tar.gz
$ tar xf gcc-7.2.0.tar.gz
Then
$ mkdir build-gcc
$ cd build-gcc
$ ../gcc-7.2.0/configure –program-suffix=-7.2.0 –enable-languages=c,c++ –disable-bootstrap –disable-shared
Then
$ make -j4
Finally install it
$ make install
$ cd ..
4. Test the GCC compiler in C++14 mode using “-std=c++14” option. Create a Test.cpp.
$ g++ –version
$ g++ -std=c++1y test.cpp
For More Details you can refer to : http://preshing.com/20141108/how-to-install-the-latest-gcc-on-windows/
Here is a table describing the difference between WCF (Windows Communication Foundation) and Web Services. Hope it might be helpful for some of you.
Here is a short notes I made for my reference, which I guess somebody who is getting started might find it useful.
– helps to perform logic before an action method is called (pre-action) or after an action method runs (post-action).
Filter Types :
1. Authorization Filters :
– Implements IAuthorizationFilter
– makes security decisions about whether to execute an action method, such as performing authentication or validating properties of the request.
– runs before any other filter
– Ex : AuthorizeAttribute, RequireHttpsAttribute
2. Action Filters
– Implements IActionFilter
– runs at Pre-Action and Post-Action
– can perform additional processing such as providing extra data to the action method, inspecting the return value, or canceling execution of action method.
3. Result Filters
– Implement IResultFilter
– can perform additional processing such as modifying the HTTP Response
– ex. OutputCacheAttribute
4. Exception Filters
– Implements IExceptionFilter
– executes if there is an unhandled exception thrown during the execution of the ASP.NET MVC pipeline.
– can be used for tasks such as logging or displaying an error page.
– ex. HandleErrorAttribute
Controller class implements each of the filter interfaces. We can implement any of the filters for a specific controller by overriding the controllers On<Filter> method.
Ex: OnAuthorization, OnException, OnActionExecuting, OnActionExecuted, OnResultExecuting, OnResultExecuted
Filters Provided in ASP.NET MVC – are implemented as attributes
1. AuthorizationAttribute – restricts access by authentication and optionally authorization
2. HandleErrorAttribute – Specifies how to handle an exception that is thrown by an action method
3. OutputCacheAttribute – provides output caching
4. RequireHttpsAttribute – Forces unsecured HTTP requests to be resent over HTTPS.
Filter Order – Filters are run in the following order
1. Authorization Filter
2. Action Filter
3. Response Filter
4. Exception Filter
IoT (Internet of Things)
Virtualization, Containerization
BigData (Hadoop)
Machine Learning
Deep Learning
Data Science (R, Python and others)
Cloud Computing (IaaS, PaaS, SaaS, AaaS, etc)
Artificial Intelligence (Although had done few courses in this area around 10 years back now need to get back with them with fresh developments)
Salesforce
Bundling is the process which makes it easy to combine or bundle multiple files into a single file. Fewer files means fewer HTTP requests that can improve first page load performance.
Minification is the process of removing all unnecessary characters (whitespace, newline, comments, block delimiters which are used to add readability to the code but not required for execution) or shortening variable names to one character (it can be a form of obfuscation) from source code without changing its functionality. It reduces the network traffic and improves request load time. It is different than compression, in that the minified source can be interpreted immediately without need for uncompression.
Both apply well to CSS, Javascript and other bundles.
Bundling and minification is enabled or disabled by setting the value of the debug attribute in the compilation Element in the Web.config file.
<system.web>
<compilation debug=”true” />
<!– Lines removed for clarity. –>
</system.web>
To enable bundling and minification, set the debug value to “false”. You can override the Web.config setting with the EnableOptimizations property on the BundleTable class. The following code enables bundling and minification and overrides any setting in the Web.config file.
public static void RegisterBundles(BundleCollection bundles)
{
bundles.Add(new ScriptBundle(“~/bundles/jquery”).Include(
“~/Scripts/jquery-{version}.js”));
// Code removed for clarity.
BundleTable.EnableOptimizations = true;
}
Same-origin policy disallows running JavaScript to read media DOM elements or XHR data fetched from outside the page’s origin. The aggregation of the site’s scheme, port number and host name identifies as its origin.Certain “cross-domain” requests, notably Ajax requests, however, are forbidden by default by the same-origin security policy.
Solutions
1. JSONP (JSON with Padding) is used to request data from a server residing in a different domain than the client. But can cause cross site scripting (XSS) issues when external site is compromised. And due to inherent insecurities, JSONP is being replaced by CORS .
2. CORS (Cross-Origin Resource Sharing) is a mechanism that allows restricted resources (eg. fonts) on a web page to be requested from another domain outside the domain from which the first resource was served. For CORS to work, the REST API server must support CORS by setting the “Access-Control-Allow-Origin” things.
Refer for more details : StackOverFlow