Skip to content

Code Rethinked

  • Home
  • VUE
  • .NET
    • C#
    • ASP.NET Core
    • .NET Core
    • Entity Framework
  • Privacy Policy
  • MY Projects
    • Auto UUID Generator

Setting up unit tests In Vue With Jest framework

April 13, 2020 by Karthik Chintala
Unit testing with Jest in Vue

For unit testing Vue projects, VueJS created a utility project for testing Vue apps. So, the utilities will create the configuration for running tests. We can test any Vue project in Karma, Jest or Mocha + webpack. If you are creating a new project with Vue CLI, you can set up Jest/Mocha tests by configuring … Read more

Categories VUE Tags unit testing, vue, vue-test-utils 1 Comment

How to read/write to computed properties?

February 8, 2020February 7, 2020 by Karthik Chintala
reading and writing to computed properties in vuejs

We’ll create a computed property if we want to re-render the text/value based on the property change. We will use the computed property in the template section of the vue file(s).

Read more

Categories VUE Tags computed properties, vue Leave a comment

Private variables in VueJS

February 7, 2020December 24, 2019 by Karthik Chintala
private variables in vuejs

Most of the times when we want to create a variable to be used in a vue file, we will create a property in the data() function. But, if we don’t want the property to be reactive, then we’d have to create a private variable or a variable that is not reactive.

Read more

Categories VUE Tags private variables Leave a comment

3 different ways to access constants in a Vue template

February 9, 2020December 19, 2019 by Karthik Chintala
different ways to access constants in vuejs featured image

In this post, I’ll show how to access a constant in the vue <template> tag.

If we consume the constant directly in the vue template we’ll get an error when compiling the app.

Read more

Categories VUE Tags private variables, vue Leave a comment

Sharing data between Vue JS components

February 7, 2020November 13, 2019 by Karthik Chintala
sharing-data-between-components-header

In this post, we’ll see how we can share the data from parent to child and vice-versa.

Read more

Categories VUE Tags $emit, components, props Leave a comment

Understanding computed properties in VueJS

February 7, 2020October 21, 2019 by Karthik Chintala
computed properties in Vue

In this post we’ll see what are computed properties, how to write a computed property and let’s understand how a computed property is designed behind the scenes.

Don’t forget to visit the links in the references section.

Read more

Categories VUE Tags computed properties 1 Comment

Getting started with Vue CLI

February 7, 2020September 25, 2019 by Karthik Chintala

If you are already familiar with Vue CLI, you can just skip reading this post.

Vue JS is an open-source JavaScript framework for building user interfaces and SPA’s (single-page applications).

If you want to build a project in Vue, I’d recommend Vue CLI templates for those who are new to Vue.

Read more

Categories VUE Tags getting started, vue cli, vue ui Leave a comment

.ToSafeDictionary() extension method in csharp

February 7, 2020August 19, 2019 by Karthik Chintala
To Safe Dictionary

The .ToDictionary() extension will throw an argument exception if we have duplicate keys added to the dictionary.

Read more

Categories C# Tags dictionary, extensions Leave a comment

Generating Sequence Numbers In LINQ Query

February 7, 2020July 19, 2019 by Karthik Chintala
sequence numbers in linq

In this post, we’ll see how to generate sequence numbers along with the data that we need in LINQ C#.

Read more

Categories C# Tags linq, row_number Leave a comment

Delegates as callback functions in csharp

February 7, 2020June 20, 2019 by Karthik Chintala
callback functions in c#

To update many records in entity framework, it is good to use the .Attach method of the db context instead of looping through every record and fetching the data through EF and updating it.

Read more

Categories C# Tags delegates Leave a comment
Post navigation
Older posts
Newer posts
← Previous Page1 Page2 Page3 … Page5 Next →

Subscribe for a new post?

Archives

  • April 2022 (1)
  • June 2021 (1)
  • May 2021 (1)
  • January 2021 (1)
  • November 2020 (1)
  • June 2020 (1)
  • May 2020 (3)
  • April 2020 (2)
  • February 2020 (1)
  • December 2019 (2)
  • November 2019 (1)
  • October 2019 (1)
  • September 2019 (1)
  • August 2019 (1)
  • July 2019 (1)
  • June 2019 (1)
  • May 2019 (1)
  • April 2019 (2)
  • March 2019 (3)
  • February 2019 (2)
  • January 2019 (1)
  • December 2018 (2)
  • November 2018 (1)
  • October 2018 (2)
  • September 2018 (3)
  • August 2018 (4)
  • July 2018 (2)

Categories

  • .NET Core
  • ASP.NET Core
  • C#
  • Entity Framework
  • JavaScript
  • Tools/Utils
  • Visual Studio
  • VUE

Tags

asp.net core aspnetcore asyncawait axios benefits blazor c# cancel compiler component parameters components computed properties csharp custom customizing 400 error response dapper data binding delegates design patterns event bubbling event delegation expression trees filter func getting started IL libman linq list model state validation oftype performance private variables props row_number switch switch case taghelpers task unit testing vue vue-test-utils vue cli vuejs vue ui
© 2022 Code Rethinked • Built with GeneratePress