Handling and throwing exceptions in .NET and WebAPI

Milanovic Nikola

Ostali podaci

Desktop Languages, Frameworks, Developer Tools, Game Develpment, UX, IoT, Azure PaaS
300
Na našem
10:45 - 11:45
001

Opis predavanja

During a development life cycle, different types of error can occur at any stage of development. Well written code is often a synonym for an error-free code, two terms that are often interchangeable, but not always rightfully so. Based on the stage of development at which an error occurs, we break down different types of errors and how to handle them.

Every software that is developed for specific purposes is extremely complex. It is not always easy to test every possible outcome and test case. Even upon thorough testing of every line of code and the application as a whole, we are still unsure of some unknown factors that could cause an error. After all, software is developed and written by humans, who by very nature are prone to making mistakes.


Errors come in all shapes and sizes, from small hiccups that cause the application to produce an inaccurate output to program-terminating behemoths (to rewrite) that could crash entire system. Error can be easily divided into three categories:

  • syntax errors – typographical mistakes or improper use of special characters;
  • logic errors – noticeable upon execution of the code and result in an unexpected or a less desirable result;
  • run-time errors: take place during the execution of the program as a result of invalid input data or adverse system parameters

General concepts and approaches will be language-agnostic and a basic understanding and experience with any programming language is expected, while more practical examples will focus on .NET WebAPI framework. Exceptions will be discussed as a way of handling error along with other tools.
Design patterns and good practices that should be followed with every line of code will be showcased.

With over a decade of experience in IT, Nikola brings his passion for technology, innovation, quality and software design. Nikola kicked off his profession as a software developer and kept being involved in the latest tech trends throughout his career, while also having management and business focus over time.

Having been exposed to both technology and business, Nikola has gained invaluable insight into all aspects of creating high quality solutions which solve actual customer challenges. Within Devtech, Nikola has led different technical departments where he contributed to the efforts of establishing Devtech as a Cloud enablement leader.

As a CTO, his focus is on continuous improvement in all of the areas of the technical magic that happens under Devtech’s roof.

Devtech

Tarabica # IT Conference je najveća tehnička konferencija u Srbiji koju organizuju ljudi koji se profesionalno ili iz hobija bave Microsoft tehnologijama.