All about CLOUD COMPUTING- Bestdotnettraining

All about CLOUD COMPUTING- Bestdotnettraining

Introduction:

This article explains all about Cloud Computing. Topics covered:

• What is Cloud Computing?

• Why businesses are moving to Cloud?

• Cloud Characteristics.

• Cloud Computing Service Models – IaaS, PaaS, SaaS.

• Deployment Models in Cloud Computing.

• Advantages and Disadvantages of Cloud Computing.

• Cloud Computing Job Roles.

• Cloud Computing Platforms and Certifications.

Description:

I. What is Cloud Computing?

Cloud: a metaphor for the Internet.

Cloud Computing: A type of Internet-based computing where different services — Storing and accessing data and programs over — are delivered to an organization’s computers and devices through the Internet.

A cloud computing service consists of highly optimized data centres (third-party data centres from the end user point of view), that provide various hardware, software and information resources (when needed).

Why is Cloud Platform preferred?

• The cloud platform is preferred because it hides the complexity of the underlying infrastructure from users and applications by providing a very simple graphical interface or API (Applications Programming Interface).

• The Cloud platform provides on-demand services that are always on, anywhere, anytime and anyplace.

II. Why are businesses moving to cloud?

In traditional hosting, a software company has to deal with-

All about CLOUD COMPUTING
All about CLOUD COMPUTING

• Licensing costs

• Protection of data

• Frequent upgrades to latest technologies/versions

• Maintenance and up -gradation of hardware and most important, find the right skill sets at the right time. Businesses today, are moving to Cloud because of its amazing characteristics as below.

III. Cloud Characteristics

Characteristics of Cloud computing-

 Remotely hosted: Data or services are hosted on a remote infrastructure.

 Ubiquitous Data or services are available from any place through the internet.

 Resiliency: To minimize downtime in the event of a disaster, Cloud providers generally mirrors solutions to multiple data centres.

 Self – service and On-demand: A consumer can himself provide computing capabilities, such as server time and network storage, automatically as required without requiring human interaction with each service’s provider. It is sold on demand mostly by the minutes or hours. (Pay as you go model)

 Elasticity – A user can utilize the cloud service as much/ less as required.

 Broad network access– Capabilities are available over the network and can be accessed through standard mechanisms that promote use by heterogeneous thin or thick client platforms (e.g., mobile phones, laptops, and PDAs).

 Fully managed by the provider – The user is unaware of the details of how the service is managed in the cloud. For example, the user need not worry about aspects such as hardware that is used, software updates and patches, plug-ins, web security. There is an optimum utilization of resources and as well as the sharing of these resources. All is taken care of by the provider.

IV. Cloud Computing Service Models

Cloud Computing = Software as a Service (SaaS)

+ Platform as a Service (PaaS)

+ Infrastructure as a Service (IaaS)

1)    IaaS (Infrastructure as a Service):

a. Delivers computer infrastructure (a platform virtualization environment) as a service.

b. Cloud providers build data centres, scale, hardware, networking, managing power, storage, distributed systems, etc…

c. Rather than purchasing servers, software, network equipment, data centre space or clients, buy those resources as a fully outsourced service. Example: Amazon Web Services(AWS), Rackspace Hosting, VMWare, Citrix, Azure, Google Cloud

2) PaaS (Platform as a Service):

a. Provides necessary tools to the developers to create, test, host and maintain created applications.

b. Cloud providers offer an Internet-based platform to developers who just create services but don’t prefer to build their own cloud.

Example: Microsoft Azure, Google Cloud, AWS

3) SaaS (Software as a Service):

a. SaaS is a software delivery methodology which provides licensed multi-tenant access to software and its functions remotely as a Web-based service.

b. From end user’s point of view, applications are located in the cloud and it is almost always accessible through a web browser.

c. Any application which is hosted on a remote server and can be accessed over the Internet is considered as SaaS.

Example: Microsoft Azure, Gmail, Google Apps (Office-like features), Sales Force CRM

V. Deployment Models in Cloud Computing
1. Private Cloud:
o A private cloud hosting solution is also known as an internal or enterprise cloud, resides on a company’s intranet or hosted data centre where all of your data is protected behind a firewall.

o This can be a good option for companies who already have expensive data centres because they can use their current infrastructure.

o You opt for a private cloud when you have strict security and data privacy issues.

o Cons: The main drawback people see with a private cloud is that complete work of management, maintenance and updating of data centres is the responsibility of the company.

2. Public Cloud:

Public Clouds are the ones which are open for use by the general public and they exist beyond the firewall of an organization, fully hosted and managed by vendors. Your data will be stored in the provider’s data centre and the provider is responsible for the management and maintenance of the data centre. Because you share computing resources among a network of users, the public cloud offers greater flexibility and cost savings. This is a good option if your demand for resources fluctuates. You will just purchase the capacity on the basis of usage and can scale up or scale down server capabilities based on traffic and other dynamic requirements. The public cloud environment is appealing to many companies as it reduces lead times in testing and deploying new products. Cons: They are more vulnerable than private clouds and there is no control of who uses/ shares the resources. Note: Even though you don’t control the security of a public cloud, all of your data remains separate from others and security breaches of public clouds are extremely rare.

3. Hybrid Clouds:

Hybrid Clouds are a mix of public and private clouds, consisting of external and internal providers. Secure apps are managed by the organization and the not-so-secure apps by the third party vendor. For example, you can use a public cloud to interact with the clients but keep their data secured within a private cloud. Most companies are now switching to Hybrid clouds. Hybrid Clouds are Ideal in situations where you have planned are to migrate to a complete cloud solution as existing hardware expires or you have some applications or hardware that are not ready for the cloud.

VI. Advantages and Disadvantages of Cloud Computing

Advantages of Cloud Computing:

1. Lower Computer Cost.

2. Improved Performance.

3. Reduced Software Cost and Instant Software Updates.

4. Unlimited Storage Capacity.

5. Universal Document Access.

6. Increased data reliability.

7. Device Independence.

The disadvantage of Cloud Computing:

1. Requires a constant Internet connection.

2. Does not work well with low-speed connections.

3. Features might be limited based on the provider you choose.

4. Can be slow.

5. Stored data might not be safe/ secure.

 

Please follow and like us:
0

Dependency Injection – ASP.NET  

Dependency Injection –  ASP.NET  

Introduction:

By taking a closer look on a Dependency Injection (DI) , we can understand it is a software design pattern which allows us to develop a loosely coupled code and it also decreases the code dependency of components of the tightly coupled software. It is also known as Inversion-of-Control, which helps us to do the unit testing more convenient.

Advantages of using Dependency Injection are:

1. Increases code re usability

.2. Reduces class coupling

3. Improves code maintainability

4. Improves application testing

Basic CRUD Operations & Scaffold Templates

  1. File -> New Project-> Visual C# -> ASP.NET      Web Application-> OK
  2. Select MVC,      Change Authentication = No Authentication->OK
  3. Create a two table in the new database in Sql Server as Department and Employee
  4. Right Click on Project ->Add New Item-> Under Visual C#, Data Select ADO.NET Entity Data Model, Name = DeccansoftEntity -> Add
  5.  Select EFDesigner from database -> Next
  6.  New Connection -> Select Server Name = ADMIN-PC\SQLEXPRESS2017, database name = Deccansoft -> OK -> Next -> Select Entity Framework 6.x -> Next
  7. Expand tables and Select all the tables (Department and Employee)which we have created on the step 3 -> Finish
  8. Solution Explorer -> Right click on Controller -> New -> Controller -> MVC 5 Controller with Views using Entity Framework ASP.NET MVC 5.X CRUD Operations
  9. Model Class=Employee, DataContextClass=EFDemoDbEntities,ControllerName=EmployeesController ->Add 10. Build and run the application

Writing Generic Class/Repository

1. To project add the following Generic class in the Repository folder

2. Create a new folder, Name=BO.

3. Under BO folder, add the Employee BO class to the project.

4. Under BO Folder, add the Department BO class to the project.

4.1 Under BO Folder, add Context Helper class to the project

Dependency Injection and Custom Controller Factory

4.2 Add-> Global.asax in below code

4.3 To separate the creation of the dependencies from the main class we use Dependency injection technique, so we typically inject an object which is needed by a class through a constructor.

5.  Edit the code of Employees Controller as below-

5.1 Create Index Action Result in a Controller as below

5.2 Create Index Action Result method view(Index-> Add View-> View name=Index, Template=List, Model class = Employee, Data Context class=DeccansoftEntities -> Add)

5.3 Display Index View in Browser

6. Edit the code of Employees Controller, write a Create Action method as below.

6.1 Create Action Result method View (Create->Add View->View name=Create, Template=Create,Model class=Employee,Data Context= DeccansoftEntities -> Add)

6.2 Create Index Action Result in a Controller as below

6.3 Display Create View in Browser

7. Edit the code of Employees Controller, Write a Edit Action method as below.

7.1 Edit Action Result method View (Edit->Add View->View name=Edit, Template=Create,Model class=Employee,Data Context=DeccansoftEntities->Add)

7.2 Create Edit Action Result method in a Controller as below

7.3 Display Edit View in Browser

8. Edit the code of Employees Controller, write a Details Action method as below.

8.1 Details Action Result method View (Create->Add View->View name=Details, Template=Details,Model class=Employee,Data Context=DeccansoftEntities->Add)

8.3 Display Details View in Browser

9. Edit the code of Employees Controller, Write a Delete Action method as below.

9.1 Delete Action Result method View (Create->Add View->View name=Delete, Template=Delete,Model class=Employee, Data Context=DeccansoftEntities->Add)

9.2 Create Delete Action Result in a Controller as below

9.3 Display Details View in Browser

Please follow and like us:
0

Working With Static In C sharp

Article by Mr Sandeep Soni on ”
Description

Working With Static In C sharp: The static keyword can be applied on data members, constructors, classes, methods, properties, and events. The static modifier makes an item non-instantiable.

 

 

C# program using static class
C# program using static class

 

: https://www.c-sharpcorner.com/article/working-with-static-in-c-sharp/
Please feel free to like and post comments on the article. Also Like the profile of “Sandeep Soni” to get future updates.

You can search the profile –
1. Search
2. under “People” tab
3. Type First Name “Sandeep”, Last Name “Soni”
4. click on the profile – Hit Like.

Introduction

This article is all about static in C#. It explains about,
Static members
Static constructor
Static methods and properties
Static class
Example using all these.
Description

The static keyword can be applied to data members, constructors, classes, methods, properties, and events. The static modifier makes an item non-instantiable.

Static members in C#

When are they loaded and how is the memory allocation,
A class is loaded when either

The static members of the class are accessed for the first time, or
When the first instance of the class is created.
A class once loaded will remain in memory permanently and also are all static members of that class.

For every new instance of a class, all the instance members are allocated memory as one unit, but static field members of a class are allocated memory only once, irrespective of the number of objects created, and they are allocated memory when the class is loaded. These members are also called class members and are accessed outside the class using the class name.

A public static member of a class can be used as a Global member of the application because it can be assessed using a class name from any part of the application.

Static Constructor in C#

It is a constructor with the static keyword.
It is used to initialize static members dynamically and is executed when the class is loaded.
It is invoked by the CLR when the class is loaded by it and hence cannot be overloaded nor can be declared with any accesses specifier like public or private.
Series of events that occur when the first object is created,

The class is loaded.
Static members are loaded and allocated memory.
The static constructor is executed.
An object is created and Instance members are loaded and allocated memory.
Instance constructor is executed.
4 and 5 repeats for a subsequent object.

Please follow and like us:
0

SSIS Introductory Course | SSIS Online Videos.- Best Dot Net Training

SSIS Introductory Course | SSIS Online Videos.
SQL Server Integration service is a platform for data integration and workflow application. It has a fast and flexible data warehousing tool used for data extraction, transformation and loading. (ETL)

Description: SSIS Introductory Course | SSIS Online Videos.

COURSE OVERVIEW

SQL Server Integration Services (SSIS) is a component of Microsoft SQL Server database software which can be used to perform a broad range of data migration, Data integration and Data Consolidation tasks. It features fast and flexible data warehousing tool used for data extraction, transformation and loading (ETL). The tool may also be used to automate maintenance of SQL Server databases and updates multidimensional cube data. SSIS is the new data transformation standard for SQL Server 2005 onwards and has replaced the old SQL Server Data Transformation Services.

This extensive SSIS Introductory Course is provided for the participant to have in-depth knowledge of Developing packages using different tasks and providing ETL solutions based on different requirements.

WHY BESTDOTNETTRAINING.COM? OUR USP…
Get an idea of the quality and quantity of the subjects by watching demo videos provided.
For any technical issues/queries relating to the online training videos, we provide technical support by Subject Matter Experts (SMEs)
The course material is simple and organized and can be used for learning and as a reference material.
Includes job interview related training to help participants face an interview confidently.
Microsoft Certification Guidance and any subject related questions will be answered by Mr Sandeep Soni (MCT).
Every course is accompanied by a Real-time project along with a step-by-step guide and complete source code.

SSIS Introductory Course | SSIS Online Videos.

WHAT YOU’LL LEARN / COURSE OBJECTIVE
Understand MSBI application development Life Cycle.
Understand basic Data Warehousing Concepts.
Understand the Concept of OLTP and OLAP.
Use SSDT (SQL Server Data Tools) in detail for development of SSIS packages.
Learn SSIS Architecture, Components of SSIS.
Gain a complete understanding of different control flow tasks, containers and precedence constraints.
Gain a complete understanding of a wide variety of data flow Sources, Transformations and Destinations.
Learn to work with variables, data types, functions, expressions and parameters and providing Dynamism in SSIS.
Develop packages using different tasks and different Transformations based on real-time requirements.
Learn to work with an event handler, Logging, Configuration Files.
Learn Error Handling and Debugging in SSIS.
Learn package deployment and project deployment.
Gain understanding of Security and Package management.

PRE-REQUISITES
Participants need to be familiar with basic RDBMS concepts with skills to write queries. Working experience on any RDBMS would be an added advantage.

INSTRUCTOR
A well-known trainer at Deccansoft for more than 6 years, she is a specialist in SQL Server 2008 and has taught well over many students. Her uniqueness lies in conducting her classes with ease and clarity, making her students understand even the most complex queries with no difficulty at all. Her class sessions are also now available as videos, targeting students who want to learn the course at their own pace and convenience. An avid learner, she has now trained herself in Microsoft Business Intelligence suite of products (SSIS, SSAS and SSRS), a must for everyone specializing in Business Intelligence and will soon be launching the classes which will definitely enhance one’s knowledge in SQL Server.

SSIS Introductory Course | SSIS Online Videos.
SSIS Introductory Course | SSIS Online Videos.
Please follow and like us:
0