An open API service indexing awesome lists of open source software.

https://github.com/ozceliksinan/mobile-contact-form-csharp-winform

This C# Windows Form project encompasses a mobile communication directory developed using JSON connections. It provides a user-friendly interface for managing, adding, and viewing contacts.
https://github.com/ozceliksinan/mobile-contact-form-csharp-winform

cshar csharp-application database json nlayer-architecture

Last synced: about 2 months ago
JSON representation

This C# Windows Form project encompasses a mobile communication directory developed using JSON connections. It provides a user-friendly interface for managing, adding, and viewing contacts.

Awesome Lists containing this project

README

        



## C# Mobile Contact Application

We will create a simple mobile contact by performing json links using C# Windows Form. In addition to Adding, Deleting and Updating Contacts in our directory, we will also download the directory in different formats.

When we run the application for the first time, a login form will appear.

![GitHub Logo](img/login.png)

When the application is entered, a json error appears. To solve this; '[' at the beginning of the line and ']' at the end of the line.

![GitHub Logo](img/solve.png)

By running the application again, the system is logged in and, the phone book form appears.

![GitHub Logo](img/telefonrehberi.png)

In the DatabaseLogicLayer.cs file, the relevant places can be corrected and saved to the desired locations.

```C#
private void VeriTabaniKontrol()
{
bool KlasorKontrol = Directory.Exists(@"c:\TelefonRehberiDB\"); // Check if the folder exists
if(!KlasorKontrol) // If the created folder does not exist
{
Directory.CreateDirectory(@"c:\TelefonRehberiDB\"); // Folder created.

// If there is no file and user related to the program, a new file and
// User assignment is done automatically by the program.
Kullanici Demo = new Kullanici();
Demo.ID = Guid.NewGuid();
Demo.KullaniciAdi = "Demo";
Demo.Sifre = "Demo";

// Program admin information is translated as json.
string JsonKullaniciText = Newtonsoft.Json.JsonConvert.SerializeObject(Demo);
File.WriteAllText(@"c:\TelefonRehberiDB\kullanici.json", JsonKullaniciText);
}
}
```

## Contact Information

You can reach out to me using the following contact details:

[![Email](https://img.shields.io/badge/Email-info%40sinanozcelik.com-brightgreen)](mailto:[email protected])

[![Website](https://img.shields.io/badge/Website-sinanozcelik.com-blue)](https://sinanozcelik.com)

I'm always open to development and collaboration. Feel free to reach out to me!