Skip to content
Webner Logo
  • Blog Home
  • Categories
    • Web Development
    • Salesforce
    • Big Data
    • Cloud
    • Database
    • PHP Frameworks
    • eLearning
    • Insurance
    • Java Frameworks
    • Linux, Windows, Mac
    • Mobile
    • Others (General)
    • Others (Technical)
    • Software Testing
    • Zoho
  • About Us
  • Contact Us
  • StudySection

Webner Blogs – eLearning, Salesforce, Web Development & More

Tag: C#

June 7, 2023 Web Development

Async and Await in C#

June 7, 2023 Web Development
Post Views: 982
| By Navpreet Singh

Asynchronous programming has become increasingly important in modern software development, and C# has been at the forefront of this trend. One of the key features of C# that make asynchronous programming easier is the async and await keywords. In this

Read More
April 13, 2023 Web Development

Explain the Server Session State pattern with an example in C Sharp

April 13, 2023 Web Development
Post Views: 1,246
| By Webner

Server Session State is a design pattern used in web applications to maintain the state of a user’s session on the server side. This means that instead of storing the session state on the client side (e.g., in cookies), the

Read More
January 24, 2022 Web Development

Null Object Pattern in C#

January 24, 2022 Web Development
Post Views: 4,346
| By Webner

The null object pattern is designed to handle the null exception of objects without implementing too many null checks in the application. This is done by identifying the behaviour that should occur when a null is encountered and declaring a

Read More
September 22, 2021 Web Development

Code Optimization in C#

September 22, 2021 Web Development
Post Views: 5,622
| By Webner

What is Optimization? The word Optimization is derived from the Latin word Optimal which means the best. Optimization is a methodology of making a system or decision fully perfect, functional, and effective. Now, what is code Optimization? In terms of

Read More
August 2, 2021 Web Development

How to remove a property from Json in C#

August 2, 2021 Web Development
Post Views: 5,329
| By Webner

Description: Suppose we have the following JSON data and we want to remove the property “RunIsolated” (highlighted) under the compositeRequest to get the final JSON without this property: Solution for Json: Following is the sample code to achieve this: string

Read More
May 27, 2021 Web Development

Dependency Injection in C Sharp

May 27, 2021 Web Development
Post Views: 2,706
| By Webner

To understand the term Dependency Injection, we must know what is Dependency and IoC? In terms of Object-Oriented Programming, Suppose Class A uses Class B for one of its jobs. Here Class B is a dependency of Class A and

Read More
April 28, 2021 Salesforce

How to get Attachments from Salesforce using API in C#

April 28, 2021 Salesforce
Post Views: 3,883
| By Webner

Description: The code below shows how we can get Salesforce attachments from various objects and save them to a particular folder on a local disk. This is the complete code to get all attachments saved in all Contact objects in

Read More
February 1, 2021 Web Development

Diagnostics in the C# Programming

February 1, 2021 Web Development
Post Views: 7,080
| By Webner

The System. Diagnostics namespace provides a process class which has some method to run external .exe or another application into a C#. This also enables you to debug and trace code; start, stop, and kill processes; monitor system performance; and

Read More
January 22, 2021 Web Development

Exceptions in C#

January 22, 2021 Web Development
Post Views: 2,770
| By Webner

An exception is an unexpected or unwanted event that occurs when a program is executed i.e at runtime, that disrupts the normal flow of the program’s instructions. Sometimes while executing the program, a user might face the possibility that the

Read More

Posts pagination

1 2 Next Posts»

Google ad

Copyright 2022 - 2023 | Webner Blog by Webner Solutions Pvt Ltd. | All Rights Reserved.
MENU
  • Blog Home
  • Categories
    • Web Development
    • Salesforce
    • Big Data
    • Cloud
    • Database
    • PHP Frameworks
    • eLearning
    • Insurance
    • Java Frameworks
    • Linux, Windows, Mac
    • Mobile
    • Others (General)
    • Others (Technical)
    • Software Testing
    • Zoho
  • About Us
  • Contact Us
  • StudySection