Skip to main content

Posts

Showing posts from June, 2025

SpEL in Spring Core

SPEL in Spring Core:  It is Expression Language that provide Query and Manipulation using normal expression. it is basically used into Object Graph and Inline Operation on Spring Application. it is not directly connected with XML configuration, it can be directly used by Spring Expression class and methods. How to Use Spell: 1. Use ExpressionParser Class: create an instance of ExpressionParser to parse the SpEL expression. 2. Parse the Expression: Use the parseExpression() method of the ExpressionParser to parse the SpEL expression string. 3. Provide an EvaluationContext: An EvaluationContext provides the context in which the expression will be evaluated. It can be a StandardEvaluationContext or a custom implementation. 4. Evaluate the Expression: Use the getValue() method of the Expression object to evaluate the expression and get the result. 

Razor form example in ASP.NET Core MVC

Complete Razor form example in ASP.NET Core MVC demonstrating all major form elements: How to Create Form Element in Razor Form Type Element Used Textbox <input asp-for="Name" /> Radio Button <input type="radio" asp-for="Gender" /> Checkbox <input type="checkbox" asp-for="IsSubscribed" /> ListBox <select multiple asp-for="SelectedSkills" /> DropdownList <select asp-for="SelectedCountry" />  Create Registration Form using Razor Form Elements: Create Model: UserFormModel.cs public class UserFormModel {     public string Name { get; set; }     public string Gender { get; set; }     public bool IsSubscribed { get; set; }     public List<string> SelectedSkills { get; set; }     public string SelectedCountry { get; set; }     public List<string> Countries { get; set; }     public List<string> Skills { get; set; } } Create Controller: FormController.cs using Mi...

CRUD Operation in Salesforce using Custom Object, Visualforce, and APEX Controller with MVC Design Pattern

CRUD Operation in Salesforce using Custom Object, Visualforce, and APEX Controller with MVC Design Pattern This tutorial provide step by step implementation to perform CRUD Operation into Course Object. In Salesforce development, building applications that follow standard architectural principles is essential for maintainability, scalability, and clarity. One of the most powerful combinations is implementing CRUD operations (Create, Read, Update, Delete) on a Custom Object using Visualforce Pages , Apex Controllers , and adhering to the MVC (Model-View-Controller) Design Pattern . Step1st: Create Course Object using Admin Dashboard it contain Name, Mode(PICKLIST), Fees, CourseId as an ExternalId. Step2nd: Create APEX Controller to perform CRUD Operation similar this public class CourseController {     public Course__c course1 { get; set; }     public List<Course__c> course { get; set; }     public Id selectedCourseId { get; set; }     publ...

EY Company Hiring Process Step By Step

  💼 Why Join EY (Ernst & Young)? – Quick Overview for Job Seekers ✅ Global Leader : EY is one of the Big Four firms, present in 150+ countries with over 300,000 employees . ✅ Tech-Driven Roles : EY works on AI, Cloud, Cybersecurity, Data Analytics, SAP, RPA , and more — ideal for tech students. ✅ Learning Culture : Get free access to EY Tech MBA , Coursera, LinkedIn Learning, and certifications through EYU (EY University) . ✅ Career Growth : Fast-track promotions, global mobility, and structured career paths from Analyst to Manager and beyond. ✅ Inclusive Work Culture : EY values diversity, collaboration, and well-being . It’s ranked among the best workplaces for freshers and women. ✅ Perks & Benefits : Salary: ₹4–6 LPA for freshers Hybrid work, free learning, bonuses, and insurance Real impact through CSR & sustainability projects    PART 3: EY Hiring Process – Step-by-Step EY’s fresher hiring process usually follows 4 key stages : ✅ Ste...

ML.NET: Machine Learning for .NET Developers

ML.NET: Machine Learning for .NET Developers Welcome, .NET developers! Explore the power of ML.NET, Microsoft's opensource machine learning framework. Leverage your existing C# skills to build intelligent applications. No Python or TensorFlow needed.  Step by Step Project Implementation: Create Console Application Project using C# Download Micorsoft.ML Package Step 1st: using Microsoft.ML.Data; namespace MLExample {     internal class StudentData     {         [LoadColumn(0)]         public float StudyHours;         [LoadColumn(1)]         public float Attendance;         [LoadColumn(2), ColumnName("Label")]         public bool Passed;     } } 2) Create StudentPrediction Class internal class StudentPrediction {     [ColumnName("PredictedLabel")]     public bool Passed;     public float Probability { get; ...

Extension Class and Method in C#

 In C#, extension methods allow you to "add" methods to existing types without modifying the original type or using inheritance. These methods are defined in a static class , and the method itself must also be static , with the first parameter preceded by the this keyword to indicate the type it's extending. 🔹 Syntax of Extension Method csharp public static class ExtensionClass { public static returnType MethodName ( this TypeToExtend obj, other parameters) { // method body } } 🔹 Example 1: Extension Method on string Type csharp // Extension class public static class StringExtensions { public static int WordCount ( this string str) { if ( string .IsNullOrWhiteSpace(str)) return 0 ; return str.Split( ' ' ).Length; } } // Usage class Program { static void Main () { string msg = "Hello from TechForest Software" ; int count = msg.WordCount(); // ...

Lambda , S3 Integration

 Lambda , S3 Integration: Lambda : it is server-less  service to perform dynamic operation under multiple S3 Services . it provide set of methods and API to communicate with various services without using resource. Task 1: Connect S3 to lambda to show bucket name, filename and file content when we upload file into s3: 1)  Edit Existing Role of Lambda with S3 { "Version": "2012-10-17", "Statement": [ { "Sid": "Statement1", "Effect": "Allow", "Action": [ "s3:GetObject", "s3:ListBucket" ], "Resource": [ "arn:aws:s3:::s3lambdapracticeindore/*" ] } ] } 2)  Code of S3 method to display content of S3 bucket file: import json import boto3 import os def lambda_handler ( event , context ):     bucket_name = event[ 'Records' ][ 0 ][ 's3' ][ 'bucket' ][ 'name' ]     object_key = event[ 'R...