The Word Processor component allows multiple users to work on the same document simultaneously. This can be done in real time so that collaborators can see the changes as they are made. Collaborative editing can be a great way to improve efficiency, as it allows team members to work together on a document without having to wait for others to finish their changes.
The Word Processor component allows multiple users to connect and edit the same document simultaneously using the SignalR connection.
// SignalR connection
var connection = new HubConnectionBuilder().withUrl(serviceUrl + 'documenteditorhub', {
skipNegotiation: true,
transport: HttpTransportType.WebSockets
}).withAutomaticReconnect().build();
async function connectToRoom(data) {
try {
// start the connection.
connection.start().then(function () {
// Join the room.
connection.send('JoinGroup', { roomName: data.roomName, currentUser: data.currentUser });
console.log('server connected!!!');
});
} catch (err) {
console.log(err);
//Attempting to reconnect in 5 seconds
setTimeout(connectToRoom, 5000);
}
};
Word Processor is also available in Blazor, Angular, React, Vue, and JavaScript frameworks. Check out the different Word Processor platforms from the links below,
The ASP.NET MVC Word Processor works well with all modern web browsers such as Chrome, Firefox, Microsoft Edge, Safari, and Opera.