Monday, December 21, 2020

NEW POST

New From c# 9.0 (1 part )

 Hello , 

I can't write for a long time because of the intensity work.  

In my new article , I will talk abbout new features from c# 9.0.  New feature are available that make our business easier. 


1-Target-typed new expressions

If the object type can be estimated when creating an object, it will no longer be necessary to specify the type before calling constructor. For example :


List<string> list =new List<stirng>();


Here, since the type of object can be estimated from the defination on the left side, it will be possible to use as follows.

List<string> list=new();

2-Prameter null checking

Null control of parameters that will be passed to methods that will be added to the end of the parameter ! it can now be done automatically with the mark.

For example : 


public void Work (Person person)

{

  if (person == null)

  {

       thrpw new ArgumentNullException(nameof(person)));

   }

}

In this way, instead of checking null, we can make this process automatic by defining it as follows.


public void Work(Person perso !)

{

}

 




Read More »

Thursday, April 4, 2019

OBS IS BLACK SCREEN ERROR


Exactly You have encounter black  screen error  If use to laptop and screen recording with obs.



How to fix OBS Studio Black Screen Issue?

Open Broadcaster Software is a popular app. Despite being free, it is feature rich and used by a lot of professional streamers. The app still gets regular updates and as of a recent update, it seems a lot of users are getting a black screen in OBS when they try to record their display. This is a pretty common problem and there are a few things you can do to fix it for good.

Read More »

Sunday, March 31, 2019

CREATE PROJECT WITH GIT TERMİNAL

We are need no working git control system If you are working on a complex project or more than one person working in a project. As I said in my previous writing. The git control system Version Control is the management of changes to documents, computer programs, large websites and other collection of information.

After installing git in your windows system, just open your folder directory where you want store all your project files, right clilck and select git bash here.




This will open up git bash terminal where you can enter commands to perform of various git operations. 



Read More »

Thursday, March 28, 2019

HIDDEN FILE IN THE PROJECT


Opening hiddes file in the terminal
I noticed that the folder did not appear even though I created it while use to git control system.
For opening hidden files :


  1. Computer->View->Options

Later,You click to change file and search options tab. You click Show hidden files and driver 


Before making this settings.


After you make this settings


I can show hidden terminal when git --a in the git terminal.







Read More »

Tuesday, March 26, 2019

GIT CONTROL SYSTEM

What is Git? what isn't git?

Git is a version control system. Git  exactly not a github.
Github is a repository or server where git users of the go are hiding their projects.
Github alternatif: ; gitlab, bitbucket

What is Version Control?

Version control is use to method the file in the track to changes. A version control system take a backup the Project before making changes in the project. But when this process is extended reason complexity. Git in such cases helps us.

Git is a database that follows and records the history and content of these changes for us.

VCS(version control system)

By using VCS, we can save the current state of the files you are working on at any time, and then return to this saved and controlled state.
The version is called the state at which the files are recorded.
The vcs as can be used in html file, android or ios application as can be used for source code . So the vcs not interested with which use programing or application while working file .

Benefit use to Vcs 


  • Provides compatible teamwork
  • All users make freely changes and  somehow make merge in the project when we do use vcs  
  • The version ensures proper tracking
  •  Return to previous versions
  • Provides understand our why the files have changed. We have to continuous read to comment in the project
If we don't, we're going to need to save files with different names every time. Therefore we are going to need to use  most disk spaces 

Vcs Types

1-CVS(CENTRALİZED VERSİON CONTROL)
All clients dependes of with a reposiyory or disk.
We can process when repo is onliene.


2-DVCS  (DİSTRİBUTED VERSİON CONTROL SYSTEM)
  • The server is no need continous connection. All computer has a repository. 
  • Faster, network is not mandatory, resistant to possible errors
  • Developers work independently of each other
  • Changes may be accepted or rejected.
 


Git Setup
The setup is quite simple. Here yo can dowland the address.
We see whether it is installed correctly when write git version--  in the terminal screen 

  1. Git config -system :Current setting for All the users and project 
  2. git config -global:Only current settings for self users.
  3. Git settings on a project basis in the .git/config file 
  • git config -global user.name <>
  • git config -global user.email<>
  • git config --global core.editor<>

You want to list if all the settings.

  • Git config --global -l

Simple as the git stream

Repo called building Version control system most essential compenent. The repository all changes and the changes  with additional information in the file.( who,when make all changes and explanations about the change) is a database that records as a separate version.


Read More »

Friday, March 22, 2019

ADVANTUREWORKS INSTALLATION AND CONFIGURATION

Adventureworks installation and configuration


We will have to create a database most time of that application.When we take our querywhen trying to learn sql and when we want to experiment we want to have a database ready. 
AdventureWorks is a free database example from Microsoft for those who want to improve themselves on SQL. 
The following page for to setup. You can go to the page by posting here. 
(I dowland advantureworks 2017.bak for my management is studio 2017.) 



Appropriate your own server .let's start the download process by clicking on the” .bak " file. 
Descending .bak move the look file to C:\. 

Then Microsoft SQL Server is Management Studio.Right click the database tab and click “Restore database”. 



Follows this step:




2. after my name, let's go to where we put the look file and select it. bak click on the arrow button. 







Read More »