No video

6. How To Read Values from app.config File in C# | app.config | C# Interview Questions

  Рет қаралды 28,739

Krishna Sakinala

Krishna Sakinala

Күн бұрын

Please use the following link to install the Katalon Studio:
katalon.com/si... Check Tubebuddy Features Here:
www.tubebuddy.... In this video will discuss about how to read values from the app.config file in c#. If you want to put some configuration values about your project then you can put all the configurable values in the app.config file then we can read when you need those values. app.config file contains key value pairs and key should be unique and value might be duplicate. If you have duplicate keys then it will get the value from the last key. And to read app.config file we need to System.Configuration namespace in your program and then need to use ConfigurationManager.AppSettings to read the value from the app.config file using key.
#c# #app.config #keyvaluepair
What is app.config?
what is the use of app.config?
How to put global values in app.config and read?
System.Configuration namespace
ConfigurationManager.AppSettings["key"]
how to read global values in c#
how to put configuration values in app.config
Protractor with Javascript - bit.ly/2jZ5XkX
Selenium Java Tutorial - bit.ly/2keM2Pb
Jasmine Tutorial - bit.ly/2lv0m6l
Java - bit.ly/2lylSHq
TestNG Tutorial - bit.ly/2lTpB2d
PdfUtil - bit.ly/2keBDTA
Shutterbug - bit.ly/2lX6xQV
Selenium Realtime Examples - bit.ly/2k0FqDQ
Java Interview Questions - bit.ly/2kopsmY
Katalon Studio - bit.ly/2lWhyln
Database Testing - bit.ly/2ko4jcJ
Fillo Excel API - bit.ly/2jRyWqC
Ashot - bit.ly/2kqXk2y
Extent Reports Version 3 Java - bit.ly/2k0FweG
Robot class - bit.ly/2lshPfJ
Sikuli - bit.ly/2lTq2cR
Excel Read Write using Java - bit.ly/2lyXRj8
AutoIt - bit.ly/2lyIYgM
Extent Reports Version 2 C# - bit.ly/2kqIY2d
Extent Reports Version 2 Java - bit.ly/2k0XkGA
Facebook : / automationtesting2016
LinkedIn : www.linkedin.c...
Google+ : plus.google.co...
Twitter : / krishnasakinala
Website : automationtesti...

Пікірлер: 13
@lorenzmolina
@lorenzmolina Жыл бұрын
thank you somo much Krishna, i liked the explanation
@KrishnaSakinala
@KrishnaSakinala Жыл бұрын
Thanks *lorenzo molina* for your comment on how to read values from app.config file in c#. Please like, share the video and subscribe to the channel for interesting updates.
@locallocal7283
@locallocal7283 Ай бұрын
hii sir in visualstudio u are saying right click on references---add references--check on system.configuration checkbox.... we are importing base class library called system.configuration then why it is necessary to check the system.configuration checkbox ?? pls clarify my doubt???
@spartan1857
@spartan1857 2 жыл бұрын
Thanks Krishna!
@ibrahimuye8536
@ibrahimuye8536 4 жыл бұрын
Thank you Krishna
@KrishnaSakinala
@KrishnaSakinala 4 жыл бұрын
Thanks *IBRAHIM UYE* . Please subscribe to the channel and keep visiting. Like the videos and share the videos... :)
@joeb.1163
@joeb.1163 3 жыл бұрын
Does the library read the config file from any path in the project?
@HGAMES69
@HGAMES69 2 жыл бұрын
Is it possible to use JSON instead of XML?
@antonyxavierw5008
@antonyxavierw5008 4 жыл бұрын
how to set configuration setting via app config in c#
@failtv5442
@failtv5442 4 жыл бұрын
and how to set some value in the config file permanently with code?
@joeb.1163
@joeb.1163 3 жыл бұрын
is the IDE free??
@KrishnaSakinala
@KrishnaSakinala 3 жыл бұрын
No
@nileshshegokar4146
@nileshshegokar4146 Жыл бұрын
I am getting bull value not able to read the value form app.config file below is my code string ss = ConfigurationManager.AppSettings["Browser"]; string s = ConfigurationManager.AppSettings.Get("Browser");
The Joker kisses Harley Quinn underwater!#Harley Quinn #joker
00:49
Harley Quinn with the Joker
Рет қаралды 8 МЛН
WORLD'S SHORTEST WOMAN
00:58
Stokes Twins
Рет қаралды 209 МЛН
Yum 😋 cotton candy 🍭
00:18
Nadir Show
Рет қаралды 7 МЛН
КТО ЛЮБИТ ГРИБЫ?? #shorts
00:24
Паша Осадчий
Рет қаралды 3,1 МЛН
C# Async Await Mistakes | Part 1
10:19
Amichai Mantinband
Рет қаралды 33 М.
8 await async mistakes that you SHOULD avoid in .NET
21:13
Nick Chapsas
Рет қаралды 311 М.
C# Tutorial Reading an XML file
16:27
C# Lessons Programming
Рет қаралды 30 М.
How to Store and Retrieve Setting  In WPF
28:05
Tactic Devs
Рет қаралды 11 М.
The C# Feature I Use Instead of Reflection
10:26
Nick Chapsas
Рет қаралды 37 М.
C# App Config | Part 3 - Create Config File | C# Advanced #196
10:19
Coding Examples
Рет қаралды 8 М.
The Best Way to Validate Your Settings in .NET
18:18
Nick Chapsas
Рет қаралды 62 М.
C# JSON Deserialization | Serialization and Deserialization| Nested Json #4
12:18
Binary Automation - SDETs
Рет қаралды 15 М.
The Joker kisses Harley Quinn underwater!#Harley Quinn #joker
00:49
Harley Quinn with the Joker
Рет қаралды 8 МЛН