Business industries are experiencing changes in their technologies – mostly towards cloud computing. Cloud computing, defined as a web-based computing model, enables users to instantly share information with other devices and computers. This allows many people to access the same files and data with minimal effort and gives users the opportunity to easily store large amounts of data.Continue reading “Importance of Azure Certification”
As COVID-19 cases continued to spread around the world, hundreds of large corporations and multinationals are asking employees to work from home. Observing this trend, BestDotNetTraining (an online training portal for top technologies) is launching a series of webinars on Cloud Computing. This will cover Microsoft Azure – Administration, Development, DevOps, AWS, Docker, Microservices, Azure Data Engineering and more. These technology webinars will be free of cost.
The Microservices batch goes live on 6th April (Monday), 7:30 – 9:30 AM (IST), followed by a series of Webinars on Top Azure, AWS and Data Engineering Interview Questions and FAQs starting from 8th April.
In this period, where upskilling is not an option but a necessity, professionals working from home can find some time and invest in upgrading their existing skills.
We have thus started a series of free live technology webinars by top Cloud Computing Experts and Mentors in the IT Industry, Mr. Sandeep Soni, (Certified Azure Solutions Architect), Mr. Rahul Rampurkar (Certified AWS Certified Architect), and Mrs. Vandana Soni (Azure Data Engineer Associate)
Use this period of lockdown as an opportunity to learn, excel and find your way to the top. COVID-19 is an eye-opener and has educated people about switching to online learning. This sudden, but the smooth shift has raised awareness on the benefits of online learning and pursuing courses online.
To know details about these free online webinars, visit https://www.bestdotnettraining.com/courses-and-webinars and register yourself for the demo of each course.
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.
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-
• 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.
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
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.
Dependency Injection – ASP.NET
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
- File -> New Project-> Visual C# -> ASP.NET Web Application-> OK
- Select MVC, Change Authentication = No Authentication->OK
- Create a two table in the new database in Sql Server as Department and Employee
- Right Click on Project ->Add New Item-> Under Visual C#, Data Select ADO.NET Entity Data Model, Name = DeccansoftEntity -> Add
- Select EFDesigner from database -> Next
- New Connection -> Select Server Name = ADMIN-PC\SQLEXPRESS2017, database name = Deccansoft -> OK -> Next -> Select Entity Framework 6.x -> Next
- Expand tables and Select all the tables (Department and Employee)which we have created on the step 3 -> Finish
- Solution Explorer -> Right click on Controller -> New -> Controller -> MVC 5 Controller with Views using Entity Framework ASP.NET MVC 5.X CRUD Operations
- Model Class=Employee, DataContextClass=EFDemoDbEntities,Contro
llerName=EmployeesController ->Add 10. Build and run the application
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