πŸ‹ CodeHackWithArun πŸ‹
15 subscribers
18 links
We're excited to have you here and can't wait to share our coding expertise with you on DotNet, Angular, Docker, Container, Kubernetes, Best Practices.

Let's dive into the world of programming and discover innovative solutions together.
Download Telegram
πŸ’₯ Working with Azure Cosmos DB in your Azure Functions πŸ‘‡πŸ‘‡
https://www.arunyadav.in/codehacks/blogs/post/52/working-with-azure-cosmos-db-in-your-azure-functions

Let's create something in real time.

πŸ’₯ Insert Record Function:

πŸ‘‰ The Insert Record function, as described in the previous code snippet, handles the HTTP POST request to insert a student record into a Cosmos DB collection.
πŸ‘‰ When a POST request is received, the function reads the request body, deserializes it into a StudentEntity object, and creates a new document in the specified Cosmos DB collection with the student record data.
πŸ‘‰The function returns the inserted document as the response.

πŸ’₯ Change Feed Function:

πŸ‘‰ The Change Feed function, as described in the previous code snippet, uses the Cosmos DB trigger to monitor changes in a specific Cosmos DB collection.
πŸ‘‰ When a change occurs, such as an insertion, update, or deletion of a document in the monitored collection, the Change Feed function is triggered.
πŸ‘‰ The function receives the batch of changed documents as the input parameter and can perform custom logic to process the changed documents.

πŸ’₯ Relationship between the functions:

πŸ‘‰ After the Insert Record function inserts a new student record into the Cosmos DB collection, the Change Feed function can be triggered if the insertion causes a change in the monitored collection.
πŸ‘‰The Change Feed function can then process the inserted document or perform any desired logic based on the change. For example, you can use the Change Feed function to send notifications, update related data, or trigger other actions whenever a new student record is inserted.

#cosmos #database #azure #development #programmer #developers
πŸ’₯ Real-Time Applications with Azure SignalR, Angular, and .Net Core πŸ‘‡πŸ‘‡
https://www.arunyadav.in/codehacks/blogs/post/55/realtime-applications-with-azure-signalr-angular-and-net-core


We are creating a real-time chat application with a professional and user-friendly interface. The application allows users to enter their names, start a chat session, and exchange messages in real-time. We are using Angular, SignalR, and .NET Core to develop a real-time chat application.


#Azure #SignalR #DotNet #programmer #developers